public/subjects/funfunfunction/README.md

261 B

🌟 FunFunFunction

Instruction

Declare an exec function that takes a function and call it

Usage

const showMessage = () => {
  console.log('Functions inside a function ?!')
}

exec(showMessage) // log 'Functions inside a function ?!'