Exactly! Also, many JS devs are clueless about CS101 basic things, it's a way to maybe make them a bit interested.
From the wiki (https://github.com/felipernb/algorithms.js/wiki):
The intention is to blend academic concepts with the
JavaScript bits of insanity, applying Atwood's Law to CS101.