Given an object with functions first()
and second()
- Guess the output of the given snippet that contains two function calls, one is an arrow function
and the other is a regular function
.
Click to reveal
Does an arrow function has a this
of its own?
Click to reveal
What exactly is the this
keyword? What is the difference between an arrow function and a regular function?