How to fix Array indexOf() in JavaScript for Internet Explorer browsers

前端 未结 10 1463
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 03:09

If you have worked with JavaScript at any length you are aware that Internet Explorer does not implement the ECMAScript function for Array.prototype.indexOf() [includin

10条回答
  •  盖世英雄少女心
    2020-11-22 03:43

    I would recommend this to anyone looking for missing functionality:

    http://code.google.com/p/ddr-ecma5/

    It brings in most of the missing ecma5 functionality to older browers :)

提交回复
热议问题