不同的JavaScript版本浏览器都支持 [英] Support of different Javascript versions in browsers

查看:108
本文介绍了不同的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)是,在维基百科是一个很好的清单:<一href=\"http://en.wikipedia.org/wiki/JavaScript#Version_history\">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

这篇关于不同的JavaScript版本浏览器都支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆