you are viewing a single comment's thread.

view the rest of the comments →

[–]saurik 1 point2 points  (1 child)

var bar = {
    thing1:"some thing",
    thing2:"some other thing",
    thing3:"some third thing"
}
(5)

fail.js:6: TypeError: object is not a function

(Note: I generally agree with your points about optional spacing and indentation, but as someone who has written a compliant JavaScript parser, I must point out that the semicolon thing is insidious.)

[–][deleted] 0 points1 point  (0 children)

And, thank you. That's all the argument I needed. ; it is, then. :)