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
rhino-1.7.11
var NISLFuzzingFunc = function() { print(typeof Symbol); print(Symbol.length); }; NISLFuzzingFunc();
java -jar rhino-1.7.11.jar -debug -version 200 testcase.js
function 1
function 0
Symbol was first defined in ES6, and according to ES standard, the length property value of Symbol Constructor is 0. However, when running this test case , the output of rhino is 1. The references are as follows: http://www.ecma-international.org/ecma-262/6.0/index.html#sec-properties-of-the-symbol-constructor
Symbol
The text was updated successfully, but these errors were encountered:
Symbol.length is 0
b8c7672
fixes #648
fix issue #648
ef02aa3
Successfully merging a pull request may close this issue.
Revision
rhino-1.7.11
Test case
Execution steps
Output
Expected behavior
Description
Symbol
was first defined in ES6, and according to ES standard, the length property value of Symbol Constructor is 0. However, when running this test case , the output of rhino is 1.The references are as follows:
http://www.ecma-international.org/ecma-262/6.0/index.html#sec-properties-of-the-symbol-constructor
The text was updated successfully, but these errors were encountered: