• Feed
  • Discussions
javascript map

javascript map

#javascript-map
0 followers·2 articles

javascript map

#javascript-map·0 followers·2 articles
javascript map
Mohd Asif
Mohd Asif
mohdasifabid.hashnode.dev·May 16, 2023
May 16, 2023

How to remove the duplicate Elements from an array in JavaScript ?

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...

How to remove the duplicate Elements from an array in JavaScript ?
Discuss·15 reads
problem solving skills
Vaibhav Prajapat
Vaibhav Prajapat
vaibhavblogs.hashnode.dev·Mar 15, 2023
Mar 15, 2023

Map in JavaScript

Definition: - 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 and many more. Maps can be considered similar to objects with some key differences. C...

Map in JavaScript
Discuss·10 likes·174 reads
map

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

LifeApp: The Web3 Lifestyle Product Redefining Real-World Utility in Crypto.

Patience Uyire·48 reads

From DeFi Roots to Global Reach: What $STON's KuCoin Listing Means for the Future of TON.

Patience Uyire·45 reads

Beyond Steps: How PlaynowLife is Redefining Lifestyle Rewards.

Patience Uyire·57 reads

Top commenters this week

Writing Challenges

Deepak Kumar
Deepak Kumar
How My Hotmail Accounts
How My Hotmail Accounts
VIPERTOTO >> Situs Judi Online Aman & Terpercaya di Indonesia.
VIPERTOTO >> Situs Judi Online Aman & Terpercaya di Indonesia.
Areeba Nishat
Areeba Nishat
Kanike Vishnuvardhan
Kanike Vishnuvardhan
#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior