Created
January 9, 2021 12:47
-
-
Save rahulmalhotra/d0372bcdf2b00ae4da7e3f7dc931bb53 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
function perimeterOfACircle1(radius) { | |
const PI = 3.14; | |
return 2 * PI * radius; | |
} | |
console.log(perimeterOfACircle1(10)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment