关卡详解
console.log(typeof "undefined");
console.log(typeof null);
var message = "some string";
console.log(typeof massage);
message = 10000;
console.log(typeof message);
var a;
var b = null;
var c = {};
if(a && b && c){
console.log("true.");
}else{
console.log("false.");
}
console.log(typeof (0 / 0));
console.log(023 + 123);
console.log(Number("1234S"));
console.log(parseInt("1234S"));
console.log(3.14E-7 === 0.000000314);
console.log(0.1 + 0.6 === 0.7);
console.log(0.1 + 0.7 === 0.8);
console.log(NaN === NaN);
console.log("\right\now");
console.log("\right\now".length);
console.log(010.toString(2));
var person = {
name: "stone",
age: 30,
weight: 62,
wife: {
name: "sohpie",
age: 30,
weight: 36
},
child:{
name: "tommy",
age: 3,
weight: 15
},
child2:{
name: "emma",
age: 1,
weight: 6
}
}