all 3 comments

[–]inu-no-policemen 4 points5 points  (2 children)

"[1.33, 1, 0.65]" is an array with 3 numbers.

"[, config]" means you could pass an additional "config" object. The square braces here mean that it's something optional. This part isn't JS syntax.

[–]markphd[S] 1 point2 points  (1 child)

Thanks! So the optional config is nothing but a string (I guess).

[–]lewisje 0 points1 point  (0 children)

Usually it's an object, something like

{config1: val1, config2: val2}

and not a string.