main.js
1
2
let nothing;
console.log(typeof nothing === 'undefined');   // => true
Native Browser JavaScript