This content originally appeared on bitsofcode and was authored by Ire Aderinokun
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()
You can get the files I worked with in this video in my repository.
This content originally appeared on bitsofcode and was authored by Ire Aderinokun

Ire Aderinokun | Sciencx (2016-08-09T00:00:00+00:00) JavaScript Array Methods – Mutator Methods. Retrieved from https://www.scien.cx/2016/08/09/javascript-array-methods-mutator-methods/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.