Without running the code, can you predict the output?
console.log(typeof null);
console.log(typeof NaN);
console.log([] + []);
console.log([] + {});
console.log({} + []);
Rules:
I'll post the explanation after enough people answer.
#JavaScript #Challenge #RedNexe
Please open Telegram to view this post
VIEW IN TELEGRAM