Melatonin@lemmy.dbzer0.com to Asklemmy@lemmy.ml · 3 days agoWhat is the smallest hill you would die on?message-squaremessage-square317linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareWhat is the smallest hill you would die on?Melatonin@lemmy.dbzer0.com to Asklemmy@lemmy.ml · 3 days agomessage-square317linkfedilink
minus-squarepineapple@lemmy.mllinkfedilinkEnglisharrow-up0·2 days agovoid main() { //code } No, all in one line baby!! I haven’t done JavaScript in a while but I think that will work. After coming from python I thought it was funny you could just put everything in one line.
minus-squaremindbleach@sh.itjust.workslinkfedilinkarrow-up0·1 day agoFor Javascript it’s () => { }. Lamba functions! Because at least it’s more readable than Perl.
void main() { //code }
No, all in one line baby!! I haven’t done JavaScript in a while but I think that will work. After coming from python I thought it was funny you could just put everything in one line.
For Javascript it’s
() => { }
. Lamba functions! Because at least it’s more readable than Perl.