Open steebchen opened 7 years ago
This is special syntax of ECMAScript 6. Like several web browsers, vash doesn't support ES6 yet.
I am aware of that and I am asking this because @[0, 1, 2].map(i => i + 1)
works perfectly.
I believe the problem is that vash is "optimizing" out the nested parens because it doesn't know about arrow functions.
I don't plan to add official ES2015 support to vash at this time.
Yep, that's okay, I was just wondering.
I don't plan to add official ES2015 support to vash at this time.
@kirbysayshi would you mind contributions for it though?
I feel it's very bad when sometimes arrow functions work, sometimes not... that's the recipe for wasting hundreds of hours not knowing what to fix.
This line
throws this
while this
works.
node@v5.9.1 vash@0.12.1