Ten days. Ten functions. Write the code, run it, pass the tests.
You wrote and passed ten working JavaScript functions, one per day. That's a real habit, not a fluke.