Created
May 16, 2023 16:40
-
-
Save suhailgupta03/cbd35c3f87ca208feced88520a515fb0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function multiply(a, b) { | |
| return a * b; | |
| } | |
| function square(n) { | |
| return multiply(n, n); | |
| } | |
| function printSquare(n) { | |
| let result = square(n); | |
| console.log(result); | |
| } | |
| printSquare(5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment