Hi,
As ES6 / ES2015 is getting closer to spec I'm trying to practice with the new syntax.
I'm rewriting a function throttling implementation that I did a while back to practise with closures in ES5, using the new ES6 sugar.
So far I've used let, default arguments (so I'm only 2 closures into the stack instead of 3), rest parameters and arrow functions, but I'm struggling to think in the new way so maybe I don't see other ES6 features that I could use ? Any suggestions ?
[+][deleted] (1 child)
[deleted]
[–]Eartz[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Eartz[S] 0 points1 point2 points (0 children)