JavaScript: Names and Versions

JavaScript was created at Netscape in the early days of the Web, and technically, "JavaScript" is a trademark licensed from Sun Microsystems(now Oracle) used to describe Netscape‘s(now Mozilla‘s) implementation of the language. Netscape submitted the language for standardization to ECMA-the European Computer Manufacturer‘s Association- and because of trademark issues, the standardized version of the language was stuck with the awkward name "ECMAScript". For the same trademark reasons, Microsoft‘s version of the language is formally known as "JScript". In practice, just about everyone calls the languages JavaScript. This book uses the name "ECMAScript" only to refer to the language standard.

For the last decade, all web browsers have implemented version 3 of the ECMAScript standard and there has really benn no need to think about version numbers: the language standard was stable and browser implementations of the language were, for the most part,interoperable. Recently, an important new version of the language has been defined as ECMAScript version 5 and, at the time of this writing, browsers are beginning to implement it. This book covers all the new features of ECMAScript 5 as well as all the long-standing features of ECMAScript 3. You‘ll sometimes see these language versions abbreviated as ES3 and ES5, just as you‘ll sometimes see the name JavaScript abbreviated as JS.

When we‘re speaking of the language itself, the only version numbers that are relevant are ECMAScript versions 3 or 5.(Version 4 of ECMAScript was under development for years, but proved to be too ambitious and was never released.) Sometimes, however, you‘ll also see a JavaScript version number, such as JavaScript1.5 or JavaScript1.8. These are Mozilla‘s version numbers: version 1.5 is basically ECMAScript 3, and later versions include nonstandard language extensions.(see Chapter 11). Finally, there are also version numbers attached to particular JavaScript interpreters or "engines." Google calls its JavaScript interpreter V8, for example, and at the time of this writing the current version of the V8 engine is 3.0.

时间: 2024-10-10 01:31:58

JavaScript: Names and Versions的相关文章

JavaScript 命名规则

来源 :http://www.codelifter.com/main/tips/tip_020.shtml The following are the rules for naming JavaScript variables: 1. A variable name cannot start with a numeral. For instance, 3x or 2goats or 76trombones would all be illegal variable names. You can,

New JavaScript techniques for rapid page loads 加快页面载入的新js技术

Speed has always been one of Chrome's primary missions, ever since it was included as one of the founding principles in 2008. But speed is about more than just traditional Javascript benchmarks. Ideally every part of a user's interaction with a brows

判断设备

思考一个问题,如何让一个二维码在用不同的设备扫描时进入不一样的地址呢(听起来像不像隔空取物)?前端js可以实现吗?答案是ok的,目前找到一种办法,分享一下. 核心就是利用userAgent来判断设备,那什么是userAgent?简单的说,User Agent就是用来识别浏览器名称.版本.引擎以及操作系统等信息的内容.于是乎,User Agent的判断就成为识别浏览器的关键,不仅仅如此,移动互联网开发势头迅猛,那么通过User Agent判断桌面端设备或移动设备就变的很为重要. 首先写一个空页面里

kbmmw 5.03 发布

版本一小数,功能一大步 We are happy to announce v5.03 of our popular middleware for Delphi and C++Builder. If you like kbmMW, please let others know! Share the word! We strive hard to ensure kbmMW continues to set the bar for what an n-tier product must be capa

判断浏览器内核和终端

<script type="text/javascript"> var browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; return { trident: u.indexOf('Trident') > -1, //IE内核 presto: u.indexOf('Presto') > -1, //opera内核 webKit: u.ind

js网页判断移动终端浏览器版本信息是安卓还是苹果ios,判断在微信浏览器跳转不同页面,生成二维码

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>移动终端浏览器版本信息</title> </head> <body> <script type="text/javascript"> var browser = { versions: function () { var u = naviga

通过JS语句判断WEB网站的访问端是电脑还是手机

<script type="text/javascript"> <!-- //平台.设备和操作系统 var system = { win: false, mac: false, xll: false, ipad:false }; //检测平台 var p = navigator.platform; system.win = p.indexOf("Win") == 0; system.mac = p.indexOf("Mac")

JS判断请求来自Android手机还是iPhone手机,根据不同的手机跳转到不同的链接。

<script type="text/javascript">var browser = {versions: function () {var u = navigator.userAgent, app = navigator.appVersion;return { //移动终端浏览器版本信息 ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 android: u.indexOf('Android') >

手机访问pc网站,自动跳转到手机网站

<script type='text/javascript'> var browser = { versions: function () { var u = navigator.userAgent, app = navigator.appVersion; return {//移动终端浏览器版本信息 trident: u.indexOf('Trident') > -1, //IE内核 presto: u.indexOf('Presto') > -1, //opera内核 webKi