Q. What is the result of this code?
Code:
console.log([] == 0);
β
Correct Answer: (A)
true
Explanation: JavaScript coerces [] to 0 when compared with ==