Last active
May 6, 2019 18:26
-
-
Save AsaoluElijah/06e565bc7096afb9256ae287f269b14a to your computer and use it in GitHub Desktop.
Most common ways to create function in JavaScript
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
//Most popular | |
function functionName(param1,param2){ | |
//Codes here ☣️ | |
} | |
//Second popular (PKA: Arrow function) | |
const functionName = (param1,param2) => { | |
//Codes here 🎯 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment