Created
July 19, 2011 07:09
-
-
Save Ruxton/1091538 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var object = { | |
init: function() { | |
this.someFunc(); | |
}, | |
someFunc: function() { | |
console.log('Stuff'); | |
}, // THIS TRAILING COMMA SUX ARSE | |
} |
dirkkelly
commented
Jul 19, 2011
haha think about it though, what other language outside of javascript would allow you to add a separator when its not needed? It's bad design!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment