how to use es6 in node code example
Example: es6 node
npm i @babel/cli @babel/core @babel/node @babel/preset-env babel-loader @babel/polyfill -D
npm i @babel/cli @babel/core @babel/node @babel/preset-env babel-loader @babel/polyfill -D