nodejs is base on v8 engine, I think something must be changed or deprecated for javascript language. Any documents or books ?
2 Answers 2
From Node.js's wiki page:
Note that V8 implements all of ECMA 3rd edition and parts of the new stuff in the ECMA 5th edition
See: 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.
For a full list see the above link.
Comments
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.
You'll need to follow through to the historical section to get 3rd edition today.