摘要: Void 和‘any’相对的数据类型则是’Void‘,它代表没有任何数据类型。我们常用的一个方法没有任何返回值: 阅读全文
posted @ 2018-09-28 11:42 悔创阿里-杰克马 阅读(122) 评论(0) 推荐(0) 编辑
摘要: function go(n) { // n here is defined! console.log(n); // Object {a: [1,2,3]} for (let n of n.a) { // ReferenceError 这就算是暂时性死区 因为在这个作用域内改变了被声明以后 是不可以提前调用的。 console.log(n); } } go({a: [1... 阅读全文
posted @ 2018-09-28 11:01 悔创阿里-杰克马 阅读(292) 评论(0) 推荐(0) 编辑
求投食~(点图即可)