Limitations: No Prototype and Property

Learn about the limitations of arrow functions, specifically how they lack the prototype property and the property. is lexically scoped

Functions may use to determine if they were called as a constructor or as a regular function.

For non-arrow functions

In the following code, we use the property to check how the function was called.

Get hands-on with 1200+ tech skills courses.