JavaScript: When should I use a semicolon after curly braces?

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-04-27T00:27:52Z Indexed on 2010/04/27 0:33 UTC
Read the original article Hit count: 298

Many times I've seen a semicolon used after a function declaration, or after the anonymous "return" function of a Module Pattern script. When is it appropriate to use a semicolon after curly braces?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about syntax