Showing posts from September, 2019

Using ES6 directly in command line

As per this post node (version 10.6) is still not fully applying es6 features, anyway you can check it in here for the implementations, but if you not too patient waiting for it the solution is using Babel , but the question is how we treat babel as we execute js script normally using node (cli) ?, the answer is as follow.