tc39/ecma262

Index conversion in ArrayAccumulation

Aperta

#1095 aperta il 9 feb 2018

 (18 commenti) (0 reazioni) (0 assegnatari)HTML (1409 fork)batch import
good first issueneeds consensusneeds test262 testsnormative change

Metriche repository

Star
 (15.626 stelle)
Metriche merge PR
 (Merge medio 92g 19h) (17 PR mergiate in 30 g)

Descrizione

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.

Guida contributor