Promises in JavaScript Unit Tests: The Definitive Guide

Jani Hartikainen explains how to deal with promises in unit tests using Mocha and Chai as the base and showing promise-related patterns that occur in tests. Read more


A Lisp for Lua and JavaScript

Lumen is a very small, self-hosted Lisp for Lua and JavaScript. It provides a flexible compilation environment with an extensible reader, macros, and extensible special forms, but otherwise attempts to match the target runtime environment as closely as po... (more…)

Read more »

Implementing Private Fields for JavaScript

When implementing a language feature for JavaScript, an implementer must make decisions about how the language in the specification maps to the implementation. Sometimes this is fairly simple, where the specification and implementation can share much of t... (more…)

Read more »