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.