Search code examples
javascriptnode.jsv8

javascript language specification for V8 engine


nodejs is base on v8 engine, I think something must be changed or deprecated for javascript language. Any documents or books ?


Solution

  • 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.