Created
December 12, 2021 07:18
-
-
Save amrelarabi/fb71d8943127777e79bc3a151078d43f 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 sumTwoNumbers = ( x, y ) => { | |
return x + y; | |
} | |
console.log( sumTwoNumbers(2,3) ); | |
//يمكنك ايضًا كتابتها بهذا الشكل فى حالة كانت الدالة سطر واحد | |
sumTwoNumbers = ( x, y ) => x + y; | |
console.log( sumTwoNumbers(2,3) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment