Question #147906

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

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question

 

AdBlock Detected

We've detected that you're using an ad blocker. Our website is made possible by displaying online advertisements to our visitors.

Please support us by disabling your ad blocker for this website.

How to disable your ad blocker:

  1. Click on the ad blocker icon in your browser's toolbar
  2. Select "Pause on this site" or "Don't run on pages on this domain"
  3. Refresh the page