What does [ ] evaluate to and why | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What does [ ] evaluate to and why

in java script

19th Nov 2017, 12:42 PM
Akintoye Kolawole Samson
Akintoye Kolawole Samson - avatar
2 ответов
+ 4
It evaluates to False, because it's an empty list and has no value.
19th Nov 2017, 12:46 PM
Tim Thuma
Tim Thuma - avatar
0
thanks
4th Dec 2017, 8:52 PM
Akintoye Kolawole Samson
Akintoye Kolawole Samson - avatar