摘要:
你真以为你了解Javascript吗?(So, you think you know 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... 阅读全文