const flag = new Boolean(); console.log(flag); // expected output: false
JavaScript Demo: Boolean Constructor
Run ›
Reset