Forum Moderators: open

Message Too Old, No Replies

Javascript versions

how to detect support

         

DrWhoFan

6:16 pm on Mar 24, 2020 (gmt 0)

5+ Year Member



I have a set of scripts as well as a single script which detects which version of javascript a browser supports.
They, however, only javascript1.5. I'd like to know about what "new" objects,functions, or methods are supported by more recent versions of javascript are along with which version they would be testing for.

lammert

7:09 pm on Mar 24, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld DrWhoFan!

Maybe it is shooting a fly with a cannon in your situation, but have you considered modernizr? It is a well-maintained set of tests that determine what HTML, CSS and JavaScript functionality are available in the browser.