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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -