What does the code snippet to the right output by console.log?
console.log
const obj = { foo: 'bar' } console.log('foo' in obj) console.log(['foo'] in obj)
Source Fromopen in new window