We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var foo = function () { var obj = new Object("z"); var p = obj.propertyIsEnumerable('0'); print("Property '0' is Enumerable: " + p); }; foo();
java -jar ./rhino/rhino-1.7.11.jar -debug -version 200 testcase.js
Property '0' is Enumerable: false
Property '0' is Enumerable: true
According to ECMAScript-262, the value of p should be “true”, but rhino outputs “false”. Does rhino support the ECMAScript-262 standard in this case?
The text was updated successfully, but these errors were encountered:
Made a fix for this.
Sorry, something went wrong.
fix propertyIsEnumerable when using an index to access string; closes #…
8fea6de
…582
Successfully merging a pull request may close this issue.
Testcase:
Command:
java -jar ./rhino/rhino-1.7.11.jar -debug -version 200 testcase.js
Output:
Property '0' is Enumerable: false
Expected output:
Property '0' is Enumerable: true
Description:
According to ECMAScript-262, the value of p should be “true”, but rhino outputs “false”. Does rhino support the ECMAScript-262 standard in this case?
The text was updated successfully, but these errors were encountered: