By etoolbox
via electrictoolbox.com
Submitted: Nov 23 2009 / 07:37
Javascript functions can be passed as few or as many parameters as you like - the exact number of parameters specified in the function declaration is not exactly what must be passed in. This post shows how to work out if a particular parameter has not been passed and therefore how to set a default value for it.
Tweet
SaveShareSend
Tags: javascript



Add your comment