Which Javascript Array Functions Are Mutating

    Table of contents

Which JavaScript Array functions are mutating?

Tags: javascript , arrays , mutable Answers: 1 | Viewed 27,028 times



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?


Some Answers For Which Javascript Array Functions Are Mutating

Please leave your answer here: