摘要: var scope = 'global'; var f = function () { console.log(scope); // 输出 undefined var scope = 'f'; } f(); var scope = 'global'; var f = function () { co 阅读全文
posted @ 2017-04-10 16:37 毛·豆 阅读(143) 评论(0) 推荐(0) 编辑