标签:javascript
http://dmitry.baranovskiy.com/post/91403200
快速检测Javascript的理解深度
if (!(“a” in window)) {
var a = 1;
}
alert(a);
var a = 1,
b = function a(x) {
x && a(–x);
};
alert(a);
function a(x) {
return x * 2;
}
var a;
alert(a);
function b(x, y, a) {
arguments[2] = 10;
alert(a);
}
b(1, 2, 3);
function a() {
alert(this);
}
a.call(null);
标签:javascript
原文地址:http://blog.csdn.net/qq443068902/article/details/44221271