diff --git a/apps/site/pages/en/learn/asynchronous-work/event-loop-timers-and-nexttick.md b/apps/site/pages/en/learn/asynchronous-work/event-loop-timers-and-nexttick.md index 91f0e4cfaacde..966d6ca1607a9 100644 --- a/apps/site/pages/en/learn/asynchronous-work/event-loop-timers-and-nexttick.md +++ b/apps/site/pages/en/learn/asynchronous-work/event-loop-timers-and-nexttick.md @@ -347,7 +347,7 @@ function someAsyncApiCall(callback) { // the callback is called before `someAsyncApiCall` completes. someAsyncApiCall(() => { // since someAsyncApiCall hasn't completed, bar hasn't been assigned any value - console.log('bar', bar); // undefined + console.log('bar', bar); // null }); bar = 1;