transforming "typeof" to "_typeof" causes an error in Javascript in many webpages #13062
Labels
i: enhancement
i: needs triage
Needs Info
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Feature Request
Is your feature request related to a problem?
Babel transforms "typeof" to "_typeof". However, some Javascript such as the one in nationalgeographic.com defines the _typeof function, which causes an error due to the conflicting name.
Describe the solution you'd like
The transformed keyword should be more complex than this to avoid conflicts, for example," __babel__typeof." I wonder which files I should modify in order to apply this change.
The text was updated successfully, but these errors were encountered: