17

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:

  1. Is there any online reference for Browser / Javascript version supported ?

  2. 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!

asked Oct 31, 2010 at 16:29
1
  • Seems like this version specification is deprecated now. If I try to specify version, Chrome is not loading that javascript. Commented Jun 19, 2018 at 18:33

2 Answers 2

17

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

WickyNilliams
5,3282 gold badges33 silver badges43 bronze badges
answered Oct 31, 2010 at 16:34
Sign up to request clarification or add additional context in comments.

1 Comment

This link is no longer active
5
  1. Wikipedia has a pretty good chart of browser/versions, check it out here.
    • Note: JavaScript isn't the only ECMAScript implementation, and JavaScript (the standard maintained by Mozilla) and JavaScript the language (more general, sometimes inaccurately used, term) are not the same thing, for example IE's implementation is called JScript.
  2. Not that I've ever seen in anything practical/widespread...you'd have to be doing something pretty specific/specialized for it to have any merit, imo.
answered Oct 31, 2010 at 16:30

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.