Recent Posts

Filtering unique values in an array

less than 1 minute read

Here is a quick and easy way to filter all unique values from an array using the Array.filter and Array.indexOf methods.

Solving the staircase problem in JavaScript

less than 1 minute read

The following is my solution to the Staircase problem. I’m using String.prototype.padStart to add the appropriate number of spaces in order to build the rise...

Find object in array by given key and value

1 minute read

At my current job we work a lot with collections, and one of the operations we run is pulling certain items from the collection based on some combination of ...

EARN IT Act is bad for end-to-end encryption

less than 1 minute read

The Eliminating Abusive and Rampant Neglect of Interactive Technologies (EARN IT) Act is a bill that would allow the government to ban encryption on commerci...