Solution Review: Arrow Functions
In this lesson, we will discuss the solutions to the questions in the previous lesson.
We'll cover the following...
Question 1: Solution review #
Explanation #
Let’s briefly discuss the options one-by-one:
-
Option A: Incorrect. An arrow function does not have its own
new.target
property so it cannot be used as a constructor function. It cannot be called bynew
as there is no internal method[[Construct]]
that allows it. They don’t have anyprototype
...