Hacker News new | past | comments | ask | show | jobs | submit login

How does this happen when you compile through Babel?



Babel (specifically, babel-preset-env, which I assume you're referring to) only ensures that your code's syntax can run within a given browser. It doesn't make sure all the web APIs and browser features you take advantage of are compatible, or that they produce the same result.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: