easyEngineering Practices#77

Console.log debugging pattern

Prompt

Add strategic console.log statements to a nested function to trace the flow of data. Use labeled logging so each log shows which function produced it.

Hints

Solution

Your Code

5 min

Tests

Click Run to test your code