---
title: "Discussion on \"Array Methods You Must Know\" | Hashnode"
description: "Discussion on \"Array Methods You Must Know\". 1 . push() and pop() ( add/remove at the end )\npush() add to end (mutates the array)\nReal life example : Adding a new item to the end of shopping list.\nlet shoppingList = [\"milk\",\"bread\"]\n\nconsole.log"
url: "https://hashnode.com/posts/array-methods-you-must-know/69a94377aa093025be6a81c7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Array Methods You Must Know](https://heyravi.dev/array-methods-you-must-know?utm_source=hashnode&utm_medium=feed)

1 . push() and pop() ( add/remove at the end ) push() add to end (mutates the array) Real life example : Adding a new item to the end of shopping list. let shoppingList = \["milk","bread"\] console.log

Mar 5 · 4 min read · heyravi.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#arraymethod](https://hashnode.com/tag/arraymethod)

## Written by

[Ravi Raj](https://hashnode.com/@poypoii)

@poypoii

  
[View profile](https://hashnode.com/@poypoii)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
