How to use Tail Call Optimizations in JavaScript

Short, useful JavaScript lessons — make it easy.

Kesk -*-
JavaScript in Plain English
3 min readFeb 10, 2020

--

Before applying any optimization you have to understand if your code is running on a critical path. If it’s not on a critical path, chances are your optimizations are not worth much and premature optimization in general is a bad idea.

--

--