---
title: "Discussion on \"Difference between delete and splice an element in an array using JavaScript\" | Hashnode"
description: "Discussion on \"Difference between delete and splice an element in an array using JavaScript\". How to delete an element in an array using splice and delete and what is the difference between them both?."
url: "https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85"
---

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

Discussion

# [Difference between delete and splice an element in an array using JavaScript](https://blog.kritikapattalam.com/difference-between-delete-and-splice-an-element-in-an-array-using-javascript?utm_source=hashnode&utm_medium=feed)

How to delete an element in an array using splice and delete and what is the difference between them both?.

Aug 12, 2021 · 3 min read · blog.kritikapattalam.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

@kritika-pattalam · New Jersey

  
[View profile](https://hashnode.com/@kritika-pattalam)

Software Developer | Front End Web Development

I am a Front end developer currently working on React JS, HTML, CSS, Python, Vue JS, Webpack, Babel, AEM etc.

## Responses 3

Markdown supported · ⌘↵ to post

[Neha](https://hashnode.com/@neha016)

[Aug 15, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/6118a2c4888ca15f5d389e73)

Well explained

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 15, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/6118a2c4888ca15f5d389e73#reply-61192c9c888ca15f5d38b691)

Thanks. Hope you find it useful.

[Vijay Thirugnanam](https://hashnode.com/@vijayst)

[Aug 12, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/6114b786119030192497af18)

I use splice always!

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 12, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/6114b786119030192497af18#reply-611512d71f1bd93c4f35ace3)

Splice is always better. Good choice.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 12, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/61149d0d119030192497ad50)

Nice Explanation !

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 12, 2021](https://hashnode.com/posts/difference-between-delete-and-splice-an-element-in-an-array-using-javascript/61149196119030192497ac85/comment/61149d0d119030192497ad50#reply-611512e9e249483e1210ee0a)

Hope you found it useful.
