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