typeof
The typeof operator has a very small set of possible resulting strings, so let's make it much faster by caching those strings on the VM. ~8x speed-up on this microbenchmark: for (let i = 0; i < 10_000_000; ++i) { typeof i; }
this