JavaScript Developer — Hard
Key points
- Regular functions have their own `this` context
- Arrow functions do not have their own `this` context
- Arrow functions lexically bind `this` to the surrounding code
- The `getValueArrow` function returns `undefined` because `this.value` is undefined in the arrow function
Ready to go further?
Related questions
