Skip to main content
D
JavaScript
JavaScript Array Methods

JavaScript Array Methods

JavaScript array methods manipulate items inside an array.

Read Time
5 min read
Difficulty
Beginner
Last Updated
Jun 15, 2026
Version
v1.0.0

Introduction

JavaScript provides built-in tools called methods to manage array data. Developers use these methods to add new items to the end of a list, remove the first item, or sort everything alphabetically.

Example

Example
1/* this uses array methods */
2const fruits = ["Banana", "Orange"];
3fruits.push("Apple"); // Adds Apple to the end
4fruits.pop(); // Removes Apple

Key Points

  • The `push()` method adds items to the end.
  • The `pop()` method removes the last item.
  • The `length` property counts the total items.
  • The `join()` method converts the array into a string.

Up Next

Continue your journey with the next topic.

Go to JS Conditions