What does the code print? Compare boolean conversion with || and ??. Enter one line with | separators.
console.log([Boolean('0'), Boolean(0), Boolean([]), 0 || 7, 0 ?? 7].join('|'));
Type exactly what will appear in the console.
console.log([Boolean('0'), Boolean(0), Boolean([]), 0 || 7, 0 ?? 7].join('|'));
Type exactly what will appear in the console.