勘誤
p89
解构是一种打破数据解构
P94
这种语法实际上与传统对象字面量的语法相悖,原来的语法名称在冒号左边,值在右边;现在值在冒号右边,而对象的属性名在左边。
后面反了
p97
这一点与数组解构的约定不同
应为对象
p205
正常情况下,继承自 Array 的 slice() 方法应该返回 Array 的实例,但是在这段代码中,slice() 方法返回的是 MyArray 的实例。
原文:
In this code, the slice() method returns a MyArray instance. The slice() method is inherited from Array and returns an instance of Array normally.
翻译似乎没有问题,但是一两遍真的很难读懂。应该为:slice() 方法继承自Array,应该会返回一个 Array 的实例。强调的是调用 slice 的结果返回了实例。
有关键情节透露