Skip to content

Instantly share code, notes, and snippets.

@amrelarabi
Created December 12, 2021 06:53
Show Gist options
  • Save amrelarabi/e85483dde3d2a6a8ff4b1db65eb61b15 to your computer and use it in GitHub Desktop.
Save amrelarabi/e85483dde3d2a6a8ff4b1db65eb61b15 to your computer and use it in GitHub Desktop.
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