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

Popular posts from this blog

javascript - THREE.js reposition vertices for RingGeometry -

javascript - I need to update the text of a paragraph by inline edit -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -