Writing unit-tests for a private function that is not exported from a module in JavaScript. Let us see how it can be done without refactoring. (more…)
Read more »
It comes as a surprise to many programmers that it is possible to
express a "recursive" function like factorial without using recursion
or iteration.
(more…)
Read more »
Javascript has its fair share of ‘wat’ moments. Even though most of them have a logical explanation once you dig in, they can still be surprising. But JavaScript doesn’t deserve all the indignant laughter. And now that BigInt is officially part of the TC3... (more…)
Read more »
Convenient JavaScript utilities for working with Census APIs: Statistics, Cartographic GeoJSON, lat/lng -> FIPS, and other niceties (written in ClojureScript) - uscensusbureau/citysdk... (more…)
Read more »
An advanced static type checker. Contribute to JSMonk/hegel development by creating an account on GitHub. (more…)
Read more »