4 ms·
Well yes, arrow functions are the magic ingredient. But the point is that with them you can express custom control flows trough custom functions instead of bui
by the8472 12y ago
Well yes, arrow functions are the magic ingredient.
But the point is that with them you can express custom control flows trough custom functions instead of built-in syntax without much of a loss of readability.
So we don't necessarily have to wait for ES7. We already have alternatives.
Some people have also built async from generators (yield) + promises. So that's another ES6 alternative.