What does the code snippet to the right output by console.log?
console.log
function func() { const a = b = c = 1 } func() console.log(typeof a, typeof b, typeof c)
Source Fromopen in new window