archives

« Bugzilla Issues Index

#4361 — 22.1.5.1 Indicate that CreateArrayIterator Abstract Operation is generic


It should be noted in the spec that the CreateArrayIterator Abstract Operation shall produce a working-as-intended iterator when applied to any array-like.

The use case is to rapidly know whether `Array.prototype.{entries,keys,values}` could safely be applied to things such as NodeList instances, Arguments objects, etc.


It's implicit

we can consider being more explicit in Es7