Handy JavaScript Tricks You May Have Missed

John Au-Yeung
Level Up Coding
Published in
4 min readApr 27, 2020

--

Photo by Keagan Henman on Unsplash

With JavaScript’s constant improvements, it has introduced lots of features to make code cleaner and easier to read.

In this article, we’ll look at some tricks that’ll save you time and typing.

Remove Duplicates from an Array

We can convert an array to a Set and then back to remove the duplicate values.

--

--