Created
December 12, 2021 07:22
-
-
Save amrelarabi/efc2d8ab1f91ffdd24ed634760c9c257 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 sayHello = () => { | |
console.log("Hello"); | |
} | |
sayHello(); | |
// فى حالة عدم وجود متغير واحد يمكنك حذف () | |
sayHello = myName => { | |
console.log("Hello " + myName); | |
} | |
sayHello("Jeo"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment