11 Mathematical Algorithms in Modern JavaScript

Super useful helpers for dealing with numbers

Kesk -*-
JavaScript in Plain English
7 min readJan 20, 2021

--

Photo by Black ice in Pexels

This collection contains a set of (> = ES6) algorithms to work with Numbers. The truth is that I thought it would take less time to write this post, but in the end, it took me a little more time to find the optimal (or at least the simplest) solution for each case.

--

--