Skip to content

A basic set of ECMAScript 5 shim methods for older browsers

License

Notifications You must be signed in to change notification settings

amccollum/es5-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES5-Basic

This library provides some basic shim methods to make older browsers more ECMAScript 5 compatible. For newer browsers, the built-in methods will be used.

Contents

  • Function.prototype.bind
  • Array.isArray
  • Array.prototype.forEach
  • Array.prototype.map
  • Array.prototype.filter
  • Array.prototype.every
  • Array.prototype.some
  • Array.prototype.reduce
  • Array.prototype.reduceRight
  • Array.prototype.indexOf
  • Array.prototype.lastIndexOf
  • Object.keys
  • Date.now
  • Date.prototype.toISOString
  • Date.prototype.toJSON
  • String.prototype.trim

Acknowledgements

This module is modeled after the great es5-shim module. If you're looking for a shim module that has greater completeness at the cost of larger code size go for es5-shim.

About

A basic set of ECMAScript 5 shim methods for older browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published