Retour implicite Fonctionnement du JavaScript

// Implicit Return Shorthand in javascript
// Longhand:
function calcCircumference(diameter) {
    return Math.PI * diameter
  }
console.log(calcCircumference(10)); //31.41592653589793
  
// Shorthand:
calcCircumference_ = diameter => Math.PI * diameter
console.log(calcCircumference_(10)); //31.41592653589793
Chetan Nada