main.js
1
2
3
4
console.log(void 1);                   // => undefined
console.log(void (false));             // => undefined
console.log(void {name: 'John Smith'}); // => undefined
console.log(void Math.min(1, 3));      // => undefined
Native Browser JavaScript