Created
January 29, 2017 09:41
-
-
Save cyrilletuzi/b2df9eafa221ffcded7c33fab19b33b4 to your computer and use it in GitHub Desktop.
This file contains 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
for (var i: number = 0; i < 10; i++) {} | |
i; // 10, error prone | |
for (let i: number = 0; i < 10; i++) {} | |
i; // undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment