Psst, the semicolon comment is funny because JavaScript doesn't actually require semicolons at the end of each line. It will automatically insert them for you if missing, which has led to a number of hard-to-find bugs.
Its curly-brace behavior, however, is pretty much exactly like C.
Its curly-brace behavior, however, is pretty much exactly like C.