jopsozepsi@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agofunction {}message-squaremessage-square5fedilinkarrow-up14arrow-down10file-text
arrow-up14arrow-down1message-squarefunction {}jopsozepsi@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square5fedilinkfile-text
minus-squareGrishAix@feddit.delinkfedilinkEnglisharrow-up0·2 years agofunction { } Is for cheaters who want to squeeze as much code as possible onto one screen.
minus-squarezygo_histo_morpheus@programming.devlinkfedilinkEnglisharrow-up0·2 years agoonly good thing about javascript is that it forces people to put the squiggly brackets on the right
minus-squarebcrussin_dev@programming.devlinkfedilinkEnglisharrow-up1·2 years agoI thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man
function { }
Is for cheaters who want to squeeze as much code as possible onto one screen.
only good thing about javascript is that it forces people to put the squiggly brackets on the right
I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man