Created
August 4, 2019 13:14
-
-
Save hoangtranson/f7ca0eb93ff8e3d5efc28c31e8e95cdd to your computer and use it in GitHub Desktop.
Create function by function expression
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
function calcRectArea(width, height) { | |
return width * height; | |
} | |
console.log(calcRectArea(5, 6)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment