---
title: "Discussion on \"Array.slice vs Array.splice\" | Hashnode"
description: "Discussion on \"Array.slice vs Array.splice\". Introduction\nIn the world of JavaScript and array manipulation, two methods stand out: slice and splice. These methods allow us to extract and modify elements within arrays, but they come with distinct behaviours and use cases. In this discussion, we..."
url: "https://hashnode.com/posts/slice-vs-splice/65395e25ca81c00f07b17c46"
---

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

Discussion

# [Array.slice vs Array.splice](https://vishal21121.hashnode.dev/slice-vs-splice?utm_source=hashnode&utm_medium=feed)

Introduction In the world of JavaScript and array manipulation, two methods stand out: slice and splice. These methods allow us to extract and modify elements within arrays, but they come with distinct behaviours and use cases. In this discussion, we...

Oct 25, 2023 · 4 min read · vishal21121.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#javascript-array-methods](https://hashnode.com/tag/javascript-array-methods)
-   [#slice-vs-splice](https://hashnode.com/tag/slice-vs-splice)
-   [#coderscommunity](https://hashnode.com/tag/coderscommunity)

## Written by

[vishal singh](https://hashnode.com/@vishal21121)

@vishal21121 · India

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

My name is Vishal Singh, and I am currently pursuing my B.Tech degree from Future Institute of Engineering and Management. I am also a web developer with experience in HTML, CSS, JS, Node js, Express js MongoDB and others. I am passionate about creating high-quality and user-friendly websites that provide value to their users.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
