---
title: "#javascript-map articles | Hashnode"
description: "Explore 2 articles tagged #javascript-map on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/javascript-map"
---

Tag

# #javascript-map

2 posts · 0 followers

[Mohd Asif](https://hashnode.com/@mohdasifdev) · [May 16, 2023](https://hashnode.com/posts/how-to-remove-the-duplicate-elements-from-an-array-in-javascript/64634de1292efa272d4e3ced)

### [How to remove the duplicate Elements from an array in JavaScript ?](https://mohdasifabid.hashnode.dev/how-to-remove-the-duplicate-elements-from-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

const numArray = \[0,1,1,2,2,2,3,3,5,5,5\] // input //expected output \[0,1,2,3,5\] Using the indexOf & filter method indexOf: MDN says, the indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is no...

3 min read · [mohdasifabid.hashnode.dev](https://mohdasifabid.hashnode.dev/how-to-remove-the-duplicate-elements-from-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

[Vaibhav Prajapat](https://hashnode.com/@vaibhav7725) · [Mar 15, 2023](https://hashnode.com/posts/map-in-javascript/64116a3213cf290dcfc34f66)

### [Map in JavaScript](https://vaibhavblogs.hashnode.dev/map-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, Map is a data structure that allows us to store key-value pairs and both key and value can be of any data type, like objects, functions...

2 min read · [vaibhavblogs.hashnode.dev](https://vaibhavblogs.hashnode.dev/map-in-javascript?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/map-in-javascript/64116a3213cf290dcfc34f66)
