Basic ES5 shim for older browsers.
Contains shims for the following objects:
- Function
- String
- Object
- Array
If any of the shimmed methods exist in the environment, they are not replaced.
Shim to Function.bind
Shim to String.trim
Shim to Object.keys and Object.create. For Object.create, only the first param is considered, that is, the prototype of the object to be created. Propeties descriptors are not parsed.
Shim to
- forEach
- indexOf
- map
- filter
- some
- every
- lastIndexOf
- reduce
- reduceRight
- Array.isArray