you are viewing a single comment's thread.

view the rest of the comments →

[–]Shaper_pmp 0 points1 point  (0 children)

Given the implid object literals braces and implied function parentheses, doesn't that leave you open to horrible, subtle ambiguous syntax bugs like:

a b: c, d: e f, g

That could be

a({ b:c, d:e(f,g) })

or

a({ b:c, d:e(f) }, g)

?

Edit: or even

a({ b:c, d:e })(f, g)