Created
January 6, 2021 07:11
-
-
Save ubermachine/9381e6b663b84257a6dfc991439d34b5 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
//Clearly Parsing occurs before execution else "greeting" should have consoled same is reason behind for Hoisting | |
var greeting = "Hi"; | |
console.log(greeting); | |
greeting = ."Hello"; //Syntax error is thrown first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment