Closed bakkot closed 4 weeks ago
We check for strings explicitly, which allows putting Symbol.iterator on Number.prototype. We should reject that.
Symbol.iterator
Number.prototype
s/reject-strings/reject-primitives perhaps
s/reject-strings/reject-primitives
It turns out I'd just misread the spec because of a stray line; we're already doing the right thing.
We check for strings explicitly, which allows putting
Symbol.iterator
onNumber.prototype
. We should reject that.