javascript - Non-delimited parameters in function -
javascript - Non-delimited parameters in function -
i've found script progress bars photoshop ui function set variable in next form, i've not seen before.
var progressbar = function(/*str*/title)
firstly why 2 parameters not separated comma? in:
var progressbar = function(str, title)
secondly significance of /* */ around string parameter?
can shed lite on this?
i think because of wrong type of comment practice follow. indicates title required type of string. can see in provided link
var pbar = new progressbar("script title");
provided input string type.
javascript photoshop-script function-parameter
Comments
Post a Comment