Created
December 12, 2021 06:53
-
-
Save amrelarabi/e85483dde3d2a6a8ff4b1db65eb61b15 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
let x = 0; | |
let x = 2; | |
console.log(x); | |
//سيحدث خطأ فى هذه الحالة | |
//SyntaxError: Identifier 'x' has already been declared |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment