Skip to content

Commit 1961a63

Browse files
authored
docs: fix code comment of someAsyncApiCall example (#2999)
1 parent 417e9d8 commit 1961a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/docs/guides/event-loop-timers-and-nexttick.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ function someAsyncApiCall(callback) { callback(); }
343343

344344
// the callback is called before `someAsyncApiCall` completes.
345345
someAsyncApiCall(() => {
346-
// since someAsyncApiCall has completed, bar hasn't been assigned any value
346+
// since someAsyncApiCall hasn't completed, bar hasn't been assigned any value
347347
console.log('bar', bar); // undefined
348348
});
349349

0 commit comments

Comments
 (0)