How to remove duplicates from an array in JavaScript
In this post learn how to remove duplicates from an array in JavaScript with ES6, for loops, reduce and how to find duplicates.
Foxi
Budget Planner & Tracker
More money in your pocket by the end of the month.
Free to use and no account needed.
Get started now.
Get the appIn this post learn how to remove duplicates from an array in JavaScript with ES6, for loops, reduce and how to find duplicates.
Find out what the differences between findIndex vs indexOf in JavaScript as well as the performance, big o, which you should use, and more
In this post find out about how to get the index of an item in an array in JavaScript using the indexOf and findIndex methods
Find out how to get the index of an object in an array in JavaScript using findIndex and indexOf as well as how referential equality effects it.
In this post find out how to to calculate the number of days between two dates in JavaScript with vanilla helper functions as well as the date-fns library.
In this post find out about how to convert an Array into a String in JavaScript with and without commas as well as converting an array of objects to a string
Sorting an array of objects by property value in JavaScript is actually pretty easy and in this post we will cover exactly how to do it with examples
In this short post we go over everything you need to know to split an array into two in javascript including in half and by value
Removing all spaces from strings in JavaScript is a pretty common task that we need to do, and there are many ways to do it, find out how in this post!
To make a loop wait in JavaScript it is actually pretty easy to do and only takes a few lines of code, find out how you can do it in this post.