13 comments
function { }
Is for cheaters who want to squeeze as much code as possible onto one screen.
14 0 Replyonly good thing about javascript is that it forces people to put the squiggly brackets on the right
1 0 ReplyI 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
2 0 Reply
function { }
but
method { }
Don't ask me why.
8 1 ReplyWhy
8 1 ReplyYou don't ask!
2 0 Reply
function() { // code }
forever because you never know how long the parameter list is going to be.
3 0 ReplyI'm sorry, are you saying you indent the braces? Cause if that's not unintentional, those are both horrifying!
2 0 ReplyThis image is cursed!!
3 1 Reply
13 comments
Scroll to top