Computer Science, asked by mdaatifalam2018, 5 months ago

Can arrow functions be used as constructors?​

Answers

Answered by mehakbhatia45
2

Arrow functions can never be used as constructor functions. Hence, they can never be invoked with the new keyword. As such, a prototype property does not exist for an arrow function.

Answered by xXAbhiSharma45Xx
1

\huge{\underline{\red{\mathfrak{♡Answer♡}}}}

Arrow functions cannot be used as constructors. They cannot be called with the new keyword. ... Also, because arrow functions cannot be called with the new keyword, there is really no need for them to have a prototype.

Similar questions