Simple Arrow Function | RunKit

PHOTO EMBED

Thu Jul 01 2021 14:39:20 GMT+0000 (Coordinated Universal Time)

Saved by @chisomloius #undefined

​// arrow function definition
const speak = (name) => {  // this sign(=>) represents the function...
   return "Shout " + name;
   }
console.log(speak('chisom'))
content_copyCOPY

On a test script

https://runkit.com/60c0cdb20a7ce300136b43ef/60ddd160f073b0001ae92fe6