Array#indexOf and Array#lastIndexOf question

John-David Dalton john.david.dalton at gmail.com
Sun Jun 14 20:24:29 PDT 2009


I noticed that most Array methods perform [[HasProperty]] checks on
the index values.
Array#indexOf and Array#lastIndexOf do not. Firefox 3, Safari 4,
Chrome 2 all seem to check [[HasProperty]] for Array#indexOf and
lastIndexOf.

Is this an oversight on the draft or did the browser vendors miss something ?

- John-David Dalton


More information about the es-discuss mailing list