[英]javascript language specification for V8 engine
nodejs is base on v8 engine, I think something must be changed or deprecated for javascript language. nodejs基于v8引擎,我认为必须更改或弃用javascript语言。 Any documents or books ?
任何文件或书籍?
From Node.js's wiki page: 来自Node.js的维基页面:
Note that V8 implements all of ECMA 3rd edition and parts of the new stuff in the ECMA 5th edition
请注意,V8在ECMA第5版中实现了所有ECMA第3版和部分新内容
See: https://github.com/ry/node/wiki/ECMA-5-Mozilla-Features-Implemented-in-V8 请参阅: https : //github.com/ry/node/wiki/ECMA-5-Mozilla-Features-Implemented-in-V8
Some of ES5's features that V8 implements are for example: Array methods like map
and forEach
, the new Object
functions like create
or keys
, String
methods like trim()
as well as the ability to define getters and setters. 例如,V8实现的ES5的一些功能包括:
map
和forEach
等数组方法,新的Object
函数,如create
或keys
, String
方法(如trim()
以及定义getter和setter的功能。
For a full list see the above link. 有关完整列表,请参阅上面的链接。
From the homepage for the project : 从项目的主页 :
V8 implements ECMAScript as specified in ECMA-262 , 3rd edition, and runs on Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM processors.
V8按照ECMA-262第3版中的规定实施ECMAScript,并在Windows XP和Vista,Mac OS X 10.5(Leopard)以及使用IA-32或ARM处理器的Linux系统上运行。
You'll need to follow through to the historical section to get 3rd edition today. 您需要按照历史部分进行操作才能获得第3版。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.