Frage im Vorstellungsgespräch bei ID.me

What is the different between an arrow function and a regular function?

Antwort im Vorstellungsgespräch

Anonym

22. Juni 2021

Arrow functions can never be used as constructor functions ,arrow functions are only callable and not constructible While regular functions are constructible,they can be called using the new keyword.