const flag1 = new Boolean(true); console.log(flag1.toString()); // Expected output: "true" const flag2 = new Boolean(1); console.log(flag2.toString()); // Expected output: "true"