Consider the below function – which is the correct syntax of arrow function?
Options:
Explanation:
In ES6 – Below given both of the syntaxes are correct of arow function:
Tags:
React JS
Answer:
Consider the below function – which is the correct syntax of arrow function Both A. and B..