Solve a problem testing core JavaScript fundamentals, such as closures, hoisting, or asynchronous execution patterns.