Closed
Description
openedon Apr 26, 2021
Describe the bug
subArray([0], 1, 0) returns [] in C# and an error in Javascript. See screen shots in LG playground. The reason this arises is when you have an array you are using to control a recursive function where you remove an element each time this is the expression you use.
Expected behavior
Both languages should return [].
Screenshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment