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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: