Some exercises that might be fun to try sometime:
https://github.com/kolodny/exercises
Kind of remind me of Project Euler:
https://projecteuler.net/
This is a fun reverse engineering thing:
https://www.alexkras.com/reverse-engineering-one-line-of-javascript/