Skip to content
New issue

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

Not working - ArrayTests.cs - array.toString() #15

Closed
simmikava opened this issue Dec 18, 2020 · 0 comments
Closed

Not working - ArrayTests.cs - array.toString() #15

simmikava opened this issue Dec 18, 2020 · 0 comments

Comments

@simmikava
Copy link
Contributor

Assert.AreEqual("1,two,3", Evaluate("array.toString()"));

Evaluate("var array = [1, ,3]");
Evaluate("Array.prototype[1] = 'two'");
Evaluate("Array.prototype[20] = 'twenty'");

output should be 1,two,3 but it gives only 1,,3; as this doesn't take two - as 2

@ackava ackava closed this as completed Oct 14, 2021
ackava added a commit that referenced this issue Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants