JavaScript Array Methods - Mutator Methods

Whenever an array is created, we have access to some native methods we can use to with the array. There are currently over 30 of these methods. In this video, which is the first part in this series, I go over the "mutator methods", which are methods that will modify the original array when used. These are -

  • Array.prototype.pop()
  • Array.prototype.shift()
  • Array.prototype.push()
  • Array.prototype.unshift()
  • Array.prototype.reverse()
  • Array.prototype.sort()
  • Array.prototype.splice()
  • Array.prototype.fill()
  • Array.prototype.copyWithin()

JavaScript Array Methods - Mutator

You can get the files I worked with in this video in my repository.

Keep in touch KeepinTouch

Subscribe to my Newsletter 📥

Receive quality articles and other exclusive content from myself. You’ll never receive any spam and can always unsubscribe easily.

Elsewhere 🌐