3 ms·
I think "getOwnSymbols" should be "getOwnPropertySymbols".
by nawitus 11y ago
I think "getOwnSymbols" should be "getOwnPropertySymbols".
- carussell 11y agoThis can be the copy editing subthread. See zipolupu's comment https://news.ycombinator.com/item?id=9790181 https://news.ycombinator.com/item?id=9790181 The article also says: > When you see code like rho == lho it could be converted into rho[Symbol.isAbstractEqual](lho), allowing classes to override what == means to them. While there's not any technical error here (the examples follow proper alpha-conversion), the "l" and "r" in lho and rho stand for "left" and "right", respectively, so they should be switched. In the Symbol.match example, "return [find];" should be... "return [index];"?