Log

View Options

Introducing PolySure

5/13/15

After continually being frustrated over lack of cross-browser support of loads of basic JavaScript functions I got into extending prototypes and more importantly, polyfills. I made some simple ones, but then found Mozilla Developer Network provided some very useful ones like Function.bind and Object.create. I have been putting together a self executing JavaScript function that adds several polyfills if the functionality doesn't exist. The name of the function? PolySure.

In all seriousness though, PolySure can help your web development experience by providing cross-browser and backward compatible JavaScript. As of writing this the current polyfills supported are:

  • console.log
  • Array.indexOf
  • Array.lastIndexOf
  • Object.create
  • Function.bind
  • Array.isArray
  • all JSON functions/objects

Feel free to download PolySure for yourself (at your own risk).