You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JS generated by Sucrase will error because there is no semicolon before (window). The JS parser interprets this code as a function call: {}(window) which will explode because {} is not a function.
The text was updated successfully, but these errors were encountered:
TypeScript code:
Sucrase output:
Playground link
The JS generated by Sucrase will error because there is no semicolon before
(window)
. The JS parser interprets this code as a function call:{}(window)
which will explode because{}
is not a function.The text was updated successfully, but these errors were encountered: