关卡详解
var falseObject = new Object(false);
console.log(typeof falseObject);
console.log(falseObject instanceof Object);
console.log(falseObject instanceof Boolean);
var numberObject = new Object(100);
console.log(typeof numberObject);
console.log(numberObject instanceof Object);
console.log(numberObject instanceof Number);
var stringObject = new Object("abcde");
console.log(typeof stringObject);
console.log(stringObject instanceof Object);
console.log(stringObject instanceof String);
var reverse = function(str) {
return str.split('').reverse().join('');
}
console.log(reverse("hello"));