query: Array gets mutated after array element is passed into splice() method as arguement
positive_passages.docid: 124
positive_passages.text: Is JavaScript a pass-by-reference or pass-by-value language?
negative_passages.docid: 22601
negative_passages.text: Why doesn’t deleting from a Javascript array change its length?
negative_passages.docid: 53855
negative_passages.text: using underscore's “difference” method on arrays of objects
negative_passages.docid: 24596
negative_passages.text: Why can a function modify some arguments as perceived by the caller, but not others?
negative_passages.docid: 158785
negative_passages.text: How could a gap between array modifier created objects be closed?
negative_passages.docid: 50493
negative_passages.text: int a[] = {1,2,}; Weird comma allowed. Any particular reason?
negative_passages.docid: 55739
negative_passages.text: Arrays misbehaving
negative_passages.docid: 58078
negative_passages.text: Why is the comma splice an error?
negative_passages.docid: 9575
negative_passages.text: Splicing a list of arguments into a function with Sequence
negative_passages.docid: 45919
negative_passages.text: How to remove the selected element during a clone() operation
negative_passages.docid: 52076
negative_passages.text: Why is an ArrayList parameter modified, but not a String parameter?
negative_passages.docid: 3402
negative_passages.text: What is the most correct way to pass an array to a function?
negative_passages.docid: 6233
negative_passages.text: Why does list(my_list) modify the object?
negative_passages.docid: 26853
negative_passages.text: Strange Behaviour of replaceAll method of String
negative_passages.docid: 17184
negative_passages.text: Are arrays in PHP copied as value or as reference to new variables, and when passed to functions?
negative_passages.docid: 139616
negative_passages.text: Why isn't the String value changed after String.Replace in Java?
negative_passages.docid: 31157
negative_passages.text: Javascript object members that are prototyped as arrays become shared by all class instances