|
|
|
|
|
by jasonthevillain
3128 days ago
|
|
I've learned the hard way to check Babel's output for sanity. Sometimes its fine. Other times it's madness or pulls in a massive polyfill. That's sort of inherent to making a transpiler: they need to match the spec. I usually just need one specific behavior that could be written in a 3 line helper function. |
|
In loose mode they might not follow the letter of the spec, but can cheat for speed or size.