Last active
August 18, 2019 09:38
-
-
Save shivenigma/eff8a0e4b4f9ec53e31b1827d017c645 to your computer and use it in GitHub Desktop.
JS Inteview questions
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 print() { | |
console.log(name); | |
var name = "React"; | |
var version = "2.3.1"; | |
var isLTS = true; | |
} | |
function print() { | |
var name, version, isLTS; | |
console.log(name); | |
name = "React"; | |
version = "2.3.1"; | |
isLTS = true; | |
} |
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
var name = "Angular"; | |
console.log(name); | |
function print() { | |
console.log(name); | |
var name = "React"; | |
console.log(name); | |
} | |
console.log(name); | |
print(); | |
console.log(name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment