Last active
August 29, 2015 14:07
-
-
Save RobertFischer/2d3a6c3fcee31548c744 to your computer and use it in GitHub Desktop.
Bad Hoisting "Fix"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo; | |
_.each(bars, function(it) { | |
foo = it.someProperty; | |
... | |
}); | |
// foo is never used again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment