DEV Community

Discussion on: Javascript Array Methods

Collapse
 
akwetey profile image
Jonathan Akwetey

Hi Sobhan, you will need to check the shift and unshift examples. For shift explanation is correct but example is not. I think it is a mistake because it is using the every example. For unshift the example is correct but the explanation is not. Unshift adds to the beginning of the array. I think you might need to edit those two. Great piece by the way.

Collapse
 
sobhandash profile image
Sobhan Dash

Thanks for pointing that out. I'll edit both!