Skip to content

Instantly share code, notes, and snippets.

@jeremygottfried
Last active September 20, 2019 23:01
Show Gist options
  • Save jeremygottfried/a854f42e071079fa763b26fae279c2d1 to your computer and use it in GitHub Desktop.
Save jeremygottfried/a854f42e071079fa763b26fae279c2d1 to your computer and use it in GitHub Desktop.
{
var private = "I am unreachable";
}
// => undefined
{
let private = "I am unreachable";
} // => undefined
console.log(private)
// => Uncaught ReferenceError: private is not defined
// at <anonymous>:1:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment