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
Minimal repro
var shouldBe1 = new Jint.Engine().Execute("var t = '1234'; var a = t[0x0]").GetValue("a"); Console.WriteLine(shouldBe1); Console.ReadLine();
Expected result: "1" Actual result: undefined
In the chrome devtool`s console I can see expected result with same JS code. With '[0]' instead '[0x0]' everything works as expected.
The text was updated successfully, but these errors were encountered:
Any other hex value work as expected.
var t = '1234'; var a = t[0x1];
Expected result: "2" Actual result: "2"
So problem exists only with [0x0]
Sorry, something went wrong.
Thanks for reporting this, I've prepared a PR that should fix the issue #711 .
@lahma thanks!
Successfully merging a pull request may close this issue.
Minimal repro
Expected result: "1"
Actual result: undefined
In the chrome devtool`s console I can see expected result with same JS code.
With '[0]' instead '[0x0]' everything works as expected.
The text was updated successfully, but these errors were encountered: