Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good cross browser javascript compatibility/enhancement library? [closed]

Apparently I have lost all my google skills. I can not find any good results for javascript libraries that attempt to cross-browser standardize javascript and provide small enhancements.

I AM NOT looking for a full framework like jQuery, Prototype, etc... even though they do this type of thing on some level. I'm talking about language/available function standardization only, no DOM stuff. Just a good cross browser library that ensures availability of all the standard stuff (array map, reduce, etc..), support for stuff like Date.toISOString() in IE 6/7/8, etc... I already know about ie7.js, ie8.js and ie9.js, but they don't exactly fit the bill.

So what else is out there?

UPDATE Just to be clear, here is the type of thing said library would do (all crossbrowser, with native fallbacks obviously):

  • Date.toISOstring support
  • Array.map, Array.each, Array.filter, Array.reduce support
  • Shallow/Deep object cloning
  • etc...
like image 448
jdc0589 Avatar asked Jul 15 '11 02:07

jdc0589


People also ask

Is JavaScript cross browser compatible?

But it isn't supported uniformly across all browsers. With typed arrays, JS code can access and modify raw binary data. Along with modern browsers, this feature is only supported by IE10 and above. Did you know, how to test your website on the latest IE versions?


1 Answers

I find UnderscoreJS very useful for looping/sorting/querying, array manipulation, map/reduce etc:

It doesn't have date time related functions. For datetime parsing, there is dateJS

like image 172
Mrchief Avatar answered Nov 06 '22 13:11

Mrchief