Last active
December 9, 2019 19:55
-
-
Save morkin1792/f9f95c5dd20046ac0f13ffcdcabdf2e6 to your computer and use it in GitHub Desktop.
crazy js
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
const test1 = (name) => { | |
console.log(name) | |
{ | |
console.log(name) | |
} | |
} | |
const test2 = (name) => { | |
console.log(name) | |
{ | |
console.log(name) | |
let name = '2' | |
} | |
console.log(name) | |
} | |
const test3 = (name) => { | |
console.log(name) | |
{ | |
console.log(name) | |
var name = '2' | |
} | |
console.log(name) | |
} | |
test1('abc') | |
test2('abc') | |
test3('abc') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment