Created
January 9, 2021 13:47
-
-
Save rahulmalhotra/e8c7cff540f10780c095cb700d435185 to your computer and use it in GitHub Desktop.
This code snippet is used in Fat Arrow Functions in JavaScript Tutorial for SFDC Stop
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 perimeterOfACircle3 = (radius) => { | |
const PI = 3.14; | |
return 2 * PI * radius; | |
} | |
console.log(perimeterOfACircle3(10)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment