Closed zilongshanren closed 8 years ago
@abicky Any suggestions?
I'm sorry for my late reply. I think the problem is the implementation of nodejs-repl-code
.
I'll check the implementation of the latest Node.js and support it.
@abicky thanks.
I have supported NODE_REPL_MODE
(https://github.com/abicky/nodejs-repl.el/commit/e5ae505fb742b75575b7e9a80beee1816fdf82fb) and released 0.0.3.
Now, you can use the syntax of ES6 like below:
node> [1, 2, 3].map(v => v * 2)
[ 2, 4, 6 ]
When write some code with ES6 features, the nodejs-repl can't work well.