一道面试题

        var foo ={
		bar:function(){ return this.biz;},
		biz:1
	};
	var t = (function(){
		return typeof arguments[0]();
	})(foo.bar);
	alert(foo.bar);

  最后答案是undefined,可是你知道为什么吗?

posted @ 2015-09-24 22:21  不由分说  阅读(71)  评论(0编辑  收藏  举报