var x = new Boolean();

console.log(x.valueOf());
// expected output: false

var y = new Boolean("Mozilla");

console.log(y.valueOf());
// expected output: true