Created
March 26, 2017 02:53
-
-
Save cristofersousa/c0cc7ef310958d501b9842f09138ce19 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
function test(o) { | |
var i = 0; // i está definida para toda a função | |
if (typeof o == "object") { | |
var j= 0; | |
for (var k=0; k <=10; k++) { | |
console.log(k); | |
} | |
console.log(k); | |
} | |
console.log(j); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment