Question: are arrays mutable in javascript?
Answer: In JavaScript, only objects and arrays are mutable, not primitive values. ... A mutable object is an object whose state can be modified after it is created. Immutables are the objects whose state cannot be changed once the object is created.