摘要: 1、意外的全局变量 在以下代码中,typeof a 和 typeof b的值分别是什么: function foo() { let a = b = 0; a++; return a; } foo(); typeof a; // => ???typeof b; // => ??? 答案:让我们仔细看看 阅读全文
posted @ 2019-11-26 10:52 迷路的吃货 阅读(149) 评论(0) 推荐(0)