关卡详解
var x=1;
if(!!function f(){}){
x+=typeof f;
}
console.log(x);
(function f(f){
console.log(typeof f());
})(function(){return 1;});
console.log(typeof 2*3);
console.log(typeof 2+3);
var a=0,b=0;
console.log(a+++b);
console.log(a);
console.log(b);
var a,b,c;
a=b==c;
console.log(a);
console.log(1 && 3);
console.log(1 && "foo" || 0);
console.log(1 || "foo" && 0);
var a=1;
var b=(a=(2,4,6))+a++
console.log(b);
if (!("a" in window)) {
var a = 1;
}
console.log(a);
var val = 'smtg';
console.log('Value is ' + (val === 'smtg') ? 'Something' : 'Nothing');
console.log(1 + - + + + - + 1);