Q. Which one will return 'true'?
Code:
console.log([] == ![]);
β
Correct Answer: (A)
true
Explanation: [] is truthy, so ![] is false. [] == false evaluates to true due to coercion.