Is it possible to set default arguments for functions like you are able to in PHP?
Like so:
[code=javascript]
function(type = 'default', default = 'argument')
// ...
[/code]
?
Cheers guys
Like so:
[code=javascript]
function(type = 'default', default = 'argument')
// ...
[/code]
?
Cheers guys
Comment