All My Blog Posts

Removing passwords / credentials from Git repo history
How to clean bad data from your git

JS Maps; the ugly step sibling of Objects
A guide on comparing Map vs Objects in Javascript

Returning a subarray group in JS
Returning an grouped array with a custom groupBy() method

The JS Sort() Function
An explanation of sort() and using it with a custom compare function.

Returning a Chunk Array in JS
How to return a chunked array from an array of a certain size.

Timeout Cancellation
An explanation of setTimeout() and a use case when cancelling an action.

Allow One Function Call
An example of a function that returns a result once and then returns undefined afterwards.

Function Composition Example
An example of function composition in JS

Dot notation used within a JS function
An example of dot notation used in a JS function.

An example of JS Closures with inner & outer functions
An example of a JS closure returning a subsequent value when an inner function is invoked

How Javascript Promises Work
An explanation how promises work in ES6

How Javascript Closures Work
A short explanation of how closures work

Types of Javascript Scopes
A guide on the different types of Javascript Scopes

How Javascript Scopes Work
Short summary on scope and the JS compiler