Advent of Code 2022 in Javascript The code for day n is in the file n.js, the test input in the file n-test.txt, and the actual input in the file n.txt. Running ./run will run the code of the current day, and set up a template if there isn’t one already.