How I Used Proxy to Implement Lazy Infinite Lists in JavaScript

In this article, I will present a JavaScript ES6 implementation of a lazily-evaluated linked list data structure. The recursively-defined linked list is an important collection type in many…

Similar

Holey JavaScript Arrays

Do you know JavaScript arrays can have holes? How are empty slots different from undefined? And how do you differentiate between both? This article dives into sparse arrays and explains various way… (more…)

Read more »