我怎么知道我正在使用哪个版本的Javascript? [英] How do I know which version of Javascript I'm using?

查看:156
本文介绍了我怎么知道我正在使用哪个版本的Javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚阅读有关Javascript 1.2的文档,但我想知道在最流行的浏览器中使用的是哪个版本的Javascript。

I'm just reading this documentation about Javascript 1.2, but I'm wondering which version of Javascript is being used in the most popular browsers.

http://www.tutorialspoint.com/javascript/javascript_nested_functions.htm

推荐答案

维基百科(或者更确切地说,维基百科上的社区)保留了这里有相当不错的最新列表

Wikipedia (or rather, the community on Wikipedia) keeps a pretty good up-to-date list here.


  • 大多数浏览器都是1.5(虽然它们具有更高版本的功能)

  • Mozilla进展与每个点发布(他们保持标准,这并不奇怪)

  • Firefox 4在JavaScript 1.8.5

  • 另一个大的关闭 - beaten-path one是IE9 - 它实现了ECMAScript 5,但没有实现JavaScript 1.8.5的所有功能(不确定他们称之为这个版本的JScript,引擎代号是 Chakra ,但是)。

  • Most browsers are on 1.5 (though they have features of later versions)
  • Mozilla progresses with every dot release (they maintain the standard so that's not surprising)
  • Firefox 4 is on JavaScript 1.8.5
  • The other big off-the-beaten-path one is IE9 - it implements ECMAScript 5, but doesn't implement all the features of JavaScript 1.8.5 (not sure what they're calling this version of JScript, engine codenamed Chakra, yet).

这篇关于我怎么知道我正在使用哪个版本的Javascript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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