DEV Community

Discussion on: How-To's For Pretty Much ANYTHING You Wanna Do To An Array in JavaScript

Collapse
 
richlira profile image
Rich Lira • Edited

In the section 'Removing items' you wrote 'We use the unshift method to remove the first item:' but it's the 'shift' method that removes the first item of the array.

Good article, gracias por escribirlo
Saludos!