Re: extension modules

2009-06-14 Thread David-Sarah Hopwood
kevin curtis wrote: Python has a concept 'extension modules' where module can be implemented in c/c++. Also the idea of running native code in the browser has been put forward by Google's native client for running x86 in the client. MS - i think - are researching something similar. The idea

Array#indexOf and Array#lastIndexOf question

2009-06-14 Thread John-David Dalton
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

Could this be removed from Array#concat.

2009-06-14 Thread John-David Dalton
I think that under 15.4.4.4 Array.prototype.concat 5 - b. - iii - 3 - a. Call ToString(n). could be removed as it is performed in c. - John-David Dalton ___ es-discuss mailing list es-discuss@mozilla.org

Re: Array#indexOf and Array#lastIndexOf question

2009-06-14 Thread Brendan Eich
On Jun 14, 2009, at 8:24 PM, John-David Dalton wrote: 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