$ node --version
v0.10.13
It was a little cryptic, you would think it would only --harmonywork, but you need to add somewhere use strict(which you can do on the command line):
$ node --harmony --use-strict
> var letTest = function () {
... let x = 31;
... if (true) {
..... let x = 71;
..... console.log(x);
..... }
... console.log(x);
... }
undefined
> letTest()
71
31
undefined
>
Very glad!
of, :
[ square(x) for (x of [1,2,3,4,5]) ]
. , , , , .