Pregunta de entrevista de TaskRabbit

Solve vanilla javascript riddles in a test framework not even often used anymore.