Skip to content

Instantly share code, notes, and snippets.

@mcsee
Created Dec 2, 2020
Embed
What would you like to do?
array = [];
console.log(array['1'])
//Index Error
noGlobal = "I am not a global"
console.log(noGlobal)
// ReferenceError
var noGlobal = "I am not a global"
console.log(noGlobal)
// I am not a global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment