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, this is not converted to the global object in strict mode, the initial value of this should be undefined. However, when running this test case blow, the output of rhino is [object global].
The references are as follows: http://www.ecma-international.org/ecma-262/5.1/index.html#sec-C
The text was updated successfully, but these errors were encountered:
Revision
rhino-1.7.11
Test case
Execution steps
Output
Expected behavior
Description
According to ES standard,
this
is not converted to the global object in strict mode, the initial value ofthis
should be undefined. However, when running this test case blow, the output of rhino is[object global]
.The references are as follows:
http://www.ecma-international.org/ecma-262/5.1/index.html#sec-C
The text was updated successfully, but these errors were encountered: