News for hackers. Stuff that matters.
Re:Xto6 modernizes your JavaScript code by skrebbel on Tuesday December 15, 2015 @05:58AM (#10737073)
FYI, when compiled with Babel 5's loose mode, the transpiled code is roughly similar to what you'd hand-write:

https://babeljs.io/repl/#?experimental=true&evaluate=true&lo...

I didn't test the performance impact though. Also it's still a mystery to me how to enable Loose mode in Babel 6.

Re:Xto6 modernizes your JavaScript code by tleunen on Tuesday December 15, 2015 @07:14AM (#10737329)