Learn about how to manipulate arrays in JavaScript Image by PaweÅ‚ CzerwiÅ„ski from Unsplash Let’s create an array: var numbers = [1,2,3,4,5] Array elements are accessed using an index. The index starts from 0 . So if we want to access the first element, then we need to access using index 0. numbers[0] // 1 numbers[3] // …
Continue reading “An Overview of Array Methods in JavaScript”