不同的JavaScript版本浏览器都支持

不同的JavaScript版本浏览器都支持

问题描述:

冲浪MDC文档这里,我注意到有JavaScript的(1.6〜1.8相当多的版本。 5)。

Surfing the MDC docs here, I've noticed there are quite a few versions of javascript (1.6 to 1.8.5).

我想知道:


  1. 是否有浏览器的在线参考/ JavaScript的版本不支持?

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

有没有使用不同的JavaScript版本的任何实际应用?据MDC你需要做这样的事情来使用它们:

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:

<脚本类型=应用程序/ JavaScript的,版本= 1.7/>

这是我没有看到任何网站IIRC。

Which I haven't seen in any website IIRC.

谢谢!

1)是,在维基百科是一个很好的清单:http://en.wikipedia.org/wiki/JavaScript#Version_history

1) Yes, on Wikipedia is a nice list: http://en.wikipedia.org/wiki/JavaScript#Version_history

2)对于网站它不使用JavaScript的新版本是个好主意,但对于插件更新的浏览器也可以是有帮助的。比如,我使用的forEach 功能插件谷歌浏览器

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