tc39/ecma262

Index conversion in ArrayAccumulation

Open

#1,095 opened on Feb 9, 2018

View on GitHub
 (18 comments) (0 reactions) (0 assignees)HTML (15,626 stars) (1,409 forks)batch import
good first issueneeds consensusneeds test262 testsnormative change

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

Index conversion in ArrayAccumulation · tc39/ecma262#1095 | Good First Issue