August 2, 2020

Three ways of removing duplicates from an array using JavaScript

Sometimes you can receive data from a different number of sources for example an API, and it can contain some repeated data and you just want it cleaned up for whatever reason (in some cases...

Read

August 1, 2020

Coding challenge solution: Counting the number of bits equal to one in a binary representation of a number

I am a big fan of coding challenges, so for the past year or so I have been a member of codewars and whenever possible I tend to stop by their site to solve one or two challenges presented to me....

Read

July 22, 2020

Alternative way of determining type in JavaScript

For many of us, when we first learned JavaScript, the first obvious way we came across for determining type was of course by using the typeof operator, which works fine for most basic use cases....

Read