Javascript
Apr 9, 2026
What gets logged?
console.log([] + {})
The Correct Answer
A
Explanation
[] converts to "" (empty string). {} converts to "[object Object]". String concatenation results in "[object Object]".