console.log(typeof 3/0, Boolean(3/0)); // When this code is executed, it outputs NaN true.
console.log(typeof 0/0, Boolean(0/0)); // However, this line results in NaN false being displayed.
I was expecting both lines to show NaN false in the Console since NaN is considered a falsy value. Can someone shed some light on why this discrepancy occurs?
I ran this code using VS Code editor and Google Chrome Browser.