quickstep25
8/15/2014 - 12:46 PM

Setting Default Arguments in Functions

Setting Default Arguments in Functions

Setting module defaults for functions, so that you do not have to test for things like "does it exist".  The syntax used is: var MyArguments = arguments[0] || '';