The main advantage of using arrow functions comes from the lack of a new _________ binding.
- execution context
- lexical scope
- closure
- variable
The main advantage of using arrow functions is that they do not create a new execution context or this binding. Instead, they capture the this value from their surrounding lexical scope. This behavior is known as "lexical scoping," and it provides a predictable way to maintain the value of this in various situations. Thus, the correct option is execution context.
Loading...