Is |delete [].length| supposed to evaluate to true in ES6 (deviating from ES5)?

Jeff Walden jwalden+es at MIT.EDU
Thu Apr 4 19:18:45 PDT 2013

The current steps call the [[Delete]] method on the array with property "length" and assign the result to deleteStatus, ReturnIfAbrupt(deleteStatus), throw if strict mode and !deleteStatus, then return true.  Should that last return-true have been |return deleteStatus| instead?


More information about the es-discuss mailing list