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
RegExp.prototype.valueOf currently returns a string (similar to toString) instead of returning the RegExp object. Actually I think we need to add an actual RegExp.prototype.valueOf method, instead of just implementing the value_of method of the TObject trait.
Testcase: typeof /abc/.valueOf()
The text was updated successfully, but these errors were encountered:
RegExp.prototype.valueOf currently returns a string (similar to toString) instead of returning the RegExp object. Actually I think we need to add an actual RegExp.prototype.valueOf method, instead of just implementing the
value_of
method of the TObject trait.Testcase:
typeof /abc/.valueOf()
The text was updated successfully, but these errors were encountered: