Basic JavaScript Part 6: Automatic Semicolon Insertion

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting For this post, I?m going to discuss a feature of JavaScript that can easily get you in trouble. Semicolons in JavaScript are not mandatory. This means that if you forget to place a semicolon after some statement, JavaScript […]

Read More