Skip to content

Instantly share code, notes, and snippets.

@rahulmalhotra
Created January 9, 2021 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulmalhotra/e8c7cff540f10780c095cb700d435185 to your computer and use it in GitHub Desktop.
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
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