tc39/ecma262

Index conversion in ArrayAccumulation

Offen

#1.095 geöffnet am 09.02.2018

 (18 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (1.409 Forks)batch import
good first issueneeds consensusneeds test262 testsnormative change

Repository-Metriken

Stars
 (15.626 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 92T 19h) (17 gemergte PRs in 30 T)

Beschreibung

ArrayAccumulation computes the array index via ToString(ToUint32(nextIndex+padding)). This means the index may become 2^32-1. But that's not a valid array index anymore since it is the max value of the length property.

Contributor Guide