On Tue, Jul 21, 2015 at 12:19 PM, Mike de Boer <mdeb...@mozilla.com> wrote:
> Hi Amit, > > These are called ‘Generics’ and are available in Firefox as of JavaScript > 1.6 - see > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Array_generic_methods > < > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Array_generic_methods > > > > Please don’t rely on them being available cross-browser, but they are > quite easy to shim: a quick duckduckgo search took me to > https://github.com/plusdude/array-generics < > https://github.com/plusdude/array-generics>, which seems to get the job > done. > And perhaps also don't use them in Firefox: they're a non-standard feature we'd rather get rid of, if we could. We *might* be able to at some point in the future, but only if people abstain from using them. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform