Skip to content

Instantly share code, notes, and snippets.

@bluepnume
Created January 27, 2017 02:08
Show Gist options
  • Select an option

  • Save bluepnume/4c448659f21590c6d413bbec9d90d073 to your computer and use it in GitHub Desktop.

Select an option

Save bluepnume/4c448659f21590c6d413bbec9d90d073 to your computer and use it in GitHub Desktop.
function foo() {
"use strict";
console.log(x);
var x = 1;
}
use-before-define.js
#1 'x' was used before it was defined.
console.log(x); // Line 5, Pos 17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment