Skip to content

Instantly share code, notes, and snippets.

@sanketmeghani
Last active September 3, 2017 09:55
Show Gist options
  • Save sanketmeghani/2bfbec309e2be4576b17c977d47136cd to your computer and use it in GitHub Desktop.
Save sanketmeghani/2bfbec309e2be4576b17c977d47136cd to your computer and use it in GitHub Desktop.
Explain automatic semicolon insertion
let a = 10
let b = true
if(b) {
console.log('B is truthy')
}
console.log('A is ', a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment