Posts Tagged

expression

Semicolons in Javascript – Where and when?

Semicolon ; is placed at the end of an object declaration, assignment and a return statement. Without a semicolon, the code will be considered “undone”. So a statement will not be a statement, an assignment will not assign anything, a declaration will not declare anything. but wait, read this and this too. What? You are still gonna…

Read More