News for hackers. Stuff that matters.
Re:Args.js – Optional and Default parameters for JavaScript by dagw on Monday January 13, 2014 @11:12AM (#7051362)
The second function sets bar to "default_value" if called with a falsy argument like 0 or an empty string.

There are no comments on this comment yet.