Created
April 27, 2020 14:01
-
-
Save rishisidhu/a493864634e40bfd64d0f7cd2bd1db23 to your computer and use it in GitHub Desktop.
Javascript code to display the scope of const statement
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 constExample() { | |
const k = 1; | |
k = 2; | |
} | |
function go() { | |
constExample(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment