What does the code snippet to the right output by console.log?
console.log
const foo = [0] if (foo) { console.log(foo == true) } else { console.log(foo == false) }
Source Fromopen in new window