Surfing the MDC docs here, I've noticed there are quite a few versions of javascript (1.6 to 1.8.5).
I was wondering:
Is there any online reference for Browser / Javascript version supported ?
Is there any practical application for the use of different javascript versions ? According to MDC you need to do something like this to use them:
<script type="application/javascript;version=1.7"/>
Which I haven't seen in any website IIRC.
Thanks!
All the modern browsers come with built-in support for JavaScript. Frequently, you may need to enable or disable this support manually. This chapter explains the procedure of enabling and disabling JavaScript support in your browsers: Internet Explorer, Firefox, chrome, and Opera.
All the current browsers have full support to ES6.
1) Yes, on Wikipedia is a nice list: http://en.wikipedia.org/wiki/JavaScript#Version_history
2) For websites it's not a good idea to use newer versions of Javascript, but for plugins for newer browsers it can be helpful. For example, I'm using the forEach
function in plugins for Google Chrome
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With