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
In ES2022, Error constructor can receives 2nd argument option: {cause?: unknown}
I can see closure compiler's extern is updated to reflect this
However, the constructor is not polyfilled
This makes the old browser miss the cause information even if option.cause is provided to constructor
I understand this is tricky to polyfill, as js.comp.polyfill is only capable polyfilling something that is missing, where in this case it's extending a existing constructor
The text was updated successfully, but these errors were encountered:
In ES2022, Error constructor can receives 2nd argument
option: {cause?: unknown}
I can see closure compiler's extern is updated to reflect this
However, the constructor is not polyfilled
This makes the old browser miss the cause information even if option.cause is provided to constructor
I understand this is tricky to polyfill, as
js.comp.polyfill
is only capable polyfilling something that is missing, where in this case it's extending a existing constructorThe text was updated successfully, but these errors were encountered: