javascript input output question

Описание к видео javascript input output question

Guess the output 🔥

Explanation-
In the map method, the second argument (false) is passed as the value for this inside the callback function. Since false is a primitive value and not an object, JavaScript converts it to the global object (window in browsers or global in Node.js) when this is referenced inside the callback

#javascripts
#frontenddeveloper
#frontendchef
#javascript #frontenddeveloper #reactjs #angular #programming

My Earbuds - https://amzn.to/3TeR5wQ
My Laptop - https://amzn.to/47M4jWd
My USB HUB for Monitor - https://amzn.to/3RIZZBT
My Monitor - https://amzn.to/3uX57ZP

Комментарии

Информация по комментариям в разработке