I found that Node uses the Chrome V8 JavaScript engine. There is information about ES6 here , and here , There's even a switch for V8 options when using Node:
node --v8-options
But none of the options seem to allow you to select a version of ECMAScript.
Moreover, here I found information that Node ES3 supported several years ago, but later, with the development of V8, he switched to ES5.
Is it possible to force Node to use versions of ECMAScript older than 5th? Are you currently using the ES version to support the V8 engine?
EcmaScript .
ES3 ES5, ES5 ES2015, ES3, ES3 ES5 ES2015.
, EcmaScript - , ES5, , use strict, , ES3.
use strict
Javascript EcmaScript, , .
JS- spec, , , , . .
ES3 IE6 - 8. ... , IE , , .
Source: https://habr.com/ru/post/1660591/More articles:What isMicrosoft Bot Framework DirectLine cannot access conversations - c #Mapping a C character containing a set of null-terminated function pointers from Rust to C - rustwhat to call 'pod setup' with cocoapods 0.39 - cocoapodsUpdate from prestashop 1.6.1.9 to 1.7 - migrateDifficulty accessing messages in an existing conversation in Microsoft Bot Framework - c #PHPUnit Selenium integration for Laravel 5.2+ - phpHow to access an array of function pointers with zero completion declared in C from Rust? - rustReduce the time spent searching for the intersection of N lines - c ++C ++: intersection of segmented line segments - c ++All Articles