Arrow functions were introduced in ES6. It behaves differently from the traditional functions of Javascript. Syntax const functionName = (parameters) => { //function body } const getName = (age) => { let name = 'Bobby'; return `${name} is...

Markdown supported · ⌘↵ to post
No responses yet.