JavaScript Articles, Tutorials & News

Building the JavaScript `ParseInt()` Katas

I had planned building the kata for `Number.parseInt()` already a while ago. Starting to work I discovered very quickly that this seemingly tiny kata is quite a rabbit hole that offers a lot of things one can learn. Especially about how things evolve in …

Read more »

Building a JavaScript Ulam Spiral

Prime numbers (those that are divisible by only themselves and one) are mathematically wild. Unlike, say, the even numbers, the primes famously elude the capture and discipline of a neat mathematical formula. Compare: For any given even number, we have a …

Read more »

Import Assertions Coming to JavaScript

The ECMAScript proposal “Import assertions” (by Myles Borins, Sven Sauleau, Dan Clark, and Daniel Ehrenberg) introduces syntax for associating metadata with import statements. In this blog post, we examine what that looks like and why it’s useful.

Read more »