//1. 初始化 var b = new Boolean(1);//true console.log(b); b = new Boolean(true); console.log(b); //true b = new Boolean("false"); console.log(b); //true //2. b = new Boolean(true); var t = typeof(b); console.log(t); //object t = typeof(true); console.log(t); //boolean b = Boolean(123); console.log(typeof(b)); //boolean b = new Boolean(false); console.log(b); //false b = new Boolean(b); console.log(b); //true