Closed ThFischer closed 12 years ago
do you have any info about browser support for the static version of Array.indexOf
? It doesn't seem to be part of ES5 / standardized: http://es5.github.com/#x15.4.3
PS: the current version uses the native method for most browsers, which is a really good thing, see es5 compat table for browser support.
You are right, ECMA Script doesn't specify it. All current browsers and Rhino have an implementation but not Node.js 0.6.14 :-(
closing it since it isn't a standard and it doesn't seem to be available on Chrome as well (just tested it on Canary). current version already performs well. cheers.