What does the code snippet to the right output by console.log?
console.log
const num = +((~~!+[])+(~~!+[])+[]+(~~!+[])) console.log(num)
Source Fromopen in new window