News for hackers. Stuff that matters.
Re:Default Parameters in JavaScript by bm1362 on Tuesday March 19, 2013 @01:29PM (#5402297)
I thought this was common knowledge? If you've read any JS library code you'd have seen this before. I'm not sure what the 'best' library to study is these days- I remember there was HN discussion about it and someone mentioned underscore.js since it was simple utilities.
Re:Default Parameters in JavaScript by joshuacc on Tuesday March 19, 2013 @02:08PM (#5402555)
It is certainly common knowledge in some groups, but not in others. There are plenty of people who are primarily designers who know just a little JS, as well as developers in other languages who have learned just enough JS to get by.