Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
169
rated 0 times [  175] [ 6]  / answers: 1 / hits: 38329  / 13 Years ago, wed, january 25, 2012, 12:00:00

I am writing an Array-derived class in JavaScript and need to know which functions to overload so that I can be aware of changes made to the array.



I know Array.push() and Array.splice() are mutating. Is there a definitive list of any others?


More From » arrays

 Answers
10

You can find the list on MDN as Mutator methods (along with Accessor and Iteration methods):




[#87801] Tuesday, January 24, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
neob

Total Points: 253
Total Questions: 106
Total Answers: 104

Location: Federated States of Micronesia
Member since Sun, May 16, 2021
3 Years ago
;