filmov
tv
JavaScript Coding Challenge 32/100
![preview_player](https://i.ytimg.com/vi/luS2TQc8M4c/maxresdefault.jpg)
Показать описание
The code will output 1.
The || (logical OR) operator returns the first truthy value it encounters. In this case, obj.a is 1, which is a truthy value, so the expression stops there, and 1 is logged to the console.
The || (logical OR) operator returns the first truthy value it encounters. In this case, obj.a is 1, which is a truthy value, so the expression stops there, and 1 is logged to the console.