Skip to content

Instantly share code, notes, and snippets.

@ksakae1216 ksakae1216/sample
Created Mar 26, 2019

What would you like to do?
var f = function() {
// 'i'にvarを宣言しない
for(i=0; i<10; i++) {
alert(i); // 10が表示される
javascript scope test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.