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 text was updated successfully, but these errors were encountered:
RuralHunter
changed the title
Symbol.species should change the return value of constructor
Setting Symbol.species should change the return value of constructor
Sep 29, 2020
According the spec, if Symbol.species is set, the return value of constructor should be the value of Symbol.species. It seems rhino doesn't do this.
Test case:
In htmlunit the output is:
In real browser such as chrome, the output is:
The text was updated successfully, but these errors were encountered: