Open In App

Web technologies Questions | JavaScript Course Quiz 1 | Question 15

Which of the following represent truthy values in javascript
(A) true
(B) {}
(C) []
(D) All of the above

Answer: (D)
Explanation: All the values {},[].true, a number , non empty strings represent truthy values in javascript
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :