This commit fixes the `capture` console.log, with an alternate logic to resolve the objects with correct scope. Refer the PR FreeCodeCamp/FreeCodeCamp#6681 discussion for details. Tested locally. Updated fix to resolve broken CI
This commit fixes the `capture` console.log, with an alternate logic to resolve the objects with correct scope. Refer the PR FreeCodeCamp/FreeCodeCamp#6681 discussion for details. Tested locally. Updated fix to resolve broken CI