随笔分类 -  JavaScript

function,new function,Function,new Function 之间的区别
摘要:测试一: var fud01 = function() { var temp = 100; this.temp = 200; return temp + this.temp; } alert(typeof(fud01)); alert(fud01()); 运行结果: function 300 最普通 阅读全文
posted @ 2016-10-27 23:19 一切从新开始 阅读(375) 评论(0) 推荐(0)