摘要: 先看代码:var x = 1; function s (a,y = function (){ x = 2 }){ var x = 1; y(); console.log(x) } s(); console.log(x);问题:写出上述代码的执行时的打印结果?这是昨天(2017-2-27)面试一家公司 阅读全文
posted @ 2018-02-28 08:59 子龙_子龙 阅读(9) 评论(0) 推荐(0) 编辑