summaryrefslogtreecommitdiff
path: root/doc/api/timers.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/timers.md')
-rw-r--r--doc/api/timers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/timers.md b/doc/api/timers.md
index 9460028928..66ee2ca97e 100644
--- a/doc/api/timers.md
+++ b/doc/api/timers.md
@@ -163,7 +163,7 @@ setImmediatePromise('foobar').then((value) => {
// This is executed after all I/O callbacks.
});
-// or with async function
+// Or with async function
async function timerExample() {
console.log('Before I/O callbacks');
await setImmediatePromise();