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
According to ES standard, the this value should be converted via ToObject in case of the isPrototypeOf call . The ToObject should throw and error for undefined values.
The text was updated successfully, but these errors were encountered:
Revision
rhino-1.7.11
Test case
Execution steps
Output
Expected behavior
Throw a Type Error in line 3.
Description
According to ES standard, the
this
value should be converted viaToObject
in case of theisPrototypeOf
call . TheToObject
should throw and error forundefined
values.The text was updated successfully, but these errors were encountered: