DEV Community

Discussion on: Find and Replace elements in Array with JavaScript

Collapse
 
rajoyish profile image
Rajesh Budhathoki • Edited

"Array.pop" removes last or first? Please update the post, it's very hard to comprehend which one is which for a newbie like me. I figured out after going through MDN. Thanks for the effort.

Collapse
 
albertomontalesi profile image
AlbertoM

You are correct, i should have spellchecked my article more thoroughly. The example was correct, the text was saying the opposite