diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 0d309ee94d2814..3e47f366d74b5a 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -816,7 +816,7 @@ Promise.resolve(1729).then(() => { ``` ```cjs -const { createHook, exectionAsyncId, triggerAsyncId } = require('async_hooks'); +const { createHook, executionAsyncId, triggerAsyncId } = require('async_hooks'); createHook({ init() {} }).enable(); // forces PromiseHooks to be enabled. Promise.resolve(1729).then(() => {