Created
December 12, 2021 07:10
-
-
Save amrelarabi/d2d5470af7bf1c0d867d849fabebf249 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
// تعريف المتغير x | |
let x; | |
// إسناد قيمة للمتغير x | |
x = 5; | |
// طباعة المتغير x | |
console.log(x); | |
// إسناد قيمة للمتغير y | |
y = 5; | |
// تعريف المتغير x | |
let y; | |
// طباعة المتغير y | |
// سيحدث خطا : ReferenceError: y is not defined | |
console.log(y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment