Frontend JavaScript Utilities — From Scratch

A complete, interview-ready reference. Every utility is implemented from scratch, with:

Theory — what it does and why it matters

Implementation — heavily commented code

Complexity — time & space