tc39/ecma262

Index conversion in ArrayAccumulation

Open

#1,095 opened on Feb 9, 2018

 (18 comments) (0 reactions) (0 assignees)HTML (1,409 forks)batch import
good first issueneeds consensusneeds test262 testsnormative change

Repository metrics

Stars
 (15,626 stars)
PR merge metrics
 (PR metrics pending)

Description

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