diff --git a/lib/internal/async_hooks.js b/lib/internal/async_hooks.js index b1e5de2bebc08f..9de8bcd9cc8a7e 100644 --- a/lib/internal/async_hooks.js +++ b/lib/internal/async_hooks.js @@ -34,7 +34,7 @@ const { async_id_symbol, async_hook_fields, async_id_fields } = async_wrap; // case of a fatal exception this stack is emptied after calling each hook's // after() callback. const { pushAsyncIds: pushAsyncIds_, popAsyncIds: popAsyncIds_ } = async_wrap; -// For performance reasons, only track Proimses when a hook is enabled. +// For performance reasons, only track Promises when a hook is enabled. const { enablePromiseHook, disablePromiseHook } = async_wrap; // Properties in active_hooks are used to keep track of the set of hooks being // executed in case another hook is enabled/disabled. The new set of hooks is diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 2e0910dbee2963..d83897c20b7902 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1276,7 +1276,7 @@ class Http2Stream extends Duplex { process.nextTick(emit, this, 'timeout'); } - // true if the Http2Stream was aborted abornomally. + // true if the Http2Stream was aborted abnormally. get aborted() { return this[kState].aborted; }