@babel/preset-env bugfixes false versus true before Babel 8
Goal Decide whether to set bugfixes to true in @babel/preset-env now or keep it at false until the project migrates to Babel 8. Constraint Babel 7 defaults bugfixes to false , which emits legacy transform output for edge cases such as for-of over sparse arrays. Enabling true produces spec-compliant transforms and can change emitted code and runtime behavior