This kind of scenarios actively selects for the opposite of the skills you really want in your teammates, which is the ability to write code that someone can come back to months later and be productive with again.
Scenario: You have 1 hour to show your JavaScript skills by building a project.
What are you building? 👀