Javascript Quiz: How well do you know Arrow Functions in JS #programming #javascript #coding #quiz

preview_player
Показать описание
Are you ready for another code challenge? Join me in this video as you test your coding knowledge with the simple quiz questions.

Don't forget to make your guess in the comments below.

-------------------------------------------------------------------------------------------

🔔Like and subscribe for more videos. 🔔
------------------------------------------------------------------------------------------

Answer: OPTION B: undefined

Explanation:
Arrow functions do not have their own this context; they inherit this from the parent scope at the time of definition. In this case, this does not refer to obj, but to the enclosing scope (which could be the global scope or undefined in strict mode).

Рекомендации по теме
visit shbcf.ru