filmov
tv
Javascript Quiz: How Well Do You Know Object in javascript #programming #javascript #coding #quiz

Показать описание
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:- 2
Explanation:
The code declares three variables and assigns {value: 1} to a and {value: 2} to b.
However, b was never modified and still points to the original object {value: 2}, so the output is 2.
Don't forget to make your guess in the comments below.
-------------------------------------------------------------------------------------------
🔔Like and subscribe for more videos. 🔔
------------------------------------------------------------------------------------------
Answer: OPTION B:- 2
Explanation:
The code declares three variables and assigns {value: 1} to a and {value: 2} to b.
However, b was never modified and still points to the original object {value: 2}, so the output is 2.