diff --git a/src/async_wrap.h b/src/async_wrap.h index 20134f4a7bbfad..3a8789f89bae78 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -111,7 +111,7 @@ class AsyncWrap : public BaseObject { ProviderType provider, double execution_async_id = kInvalidAsyncId); - // This constructor creates a reuseable instance where user is responsible + // This constructor creates a reusable instance where user is responsible // to call set_provider_type() and AsyncReset() before use. AsyncWrap(Environment* env, v8::Local object); diff --git a/src/env.h b/src/env.h index a3c6ec3cc9092f..33800d84842299 100644 --- a/src/env.h +++ b/src/env.h @@ -885,7 +885,7 @@ class Environment : public MemoryRetainer { inline IsolateData* isolate_data() const; - // Utilites that allocate memory using the Isolate's ArrayBuffer::Allocator. + // Utilities that allocate memory using the Isolate's ArrayBuffer::Allocator. // In particular, using AllocateManaged() will provide a RAII-style object // with easy conversion to `Buffer` and `ArrayBuffer` objects. inline AllocatedBuffer AllocateManaged(size_t size, bool checked = true); diff --git a/src/node.cc b/src/node.cc index d611460f4f2921..ac0e7dfce3f058 100644 --- a/src/node.cc +++ b/src/node.cc @@ -330,7 +330,7 @@ MaybeLocal RunBootstrapping(Environment* env) { return MaybeLocal(); // Make sure that no request or handle is created during bootstrap - - // if necessary those should be done in pre-exeuction. + // if necessary those should be done in pre-execution. // TODO(joyeecheung): print handles/requests before aborting CHECK(env->req_wrap_queue()->IsEmpty()); CHECK(env->handle_wrap_queue()->IsEmpty()); diff --git a/src/node_main_instance.h b/src/node_main_instance.h index 04ad277b8e825b..a971c899b81438 100644 --- a/src/node_main_instance.h +++ b/src/node_main_instance.h @@ -15,7 +15,7 @@ namespace node { // We may be able to create an abstract class to reuse some of the routines. class NodeMainInstance { public: - // To create a main instance that does not own the isoalte, + // To create a main instance that does not own the isolate, // The caller needs to do: // // Isolate* isolate = Isolate::Allocate(); diff --git a/src/node_native_module_env.cc b/src/node_native_module_env.cc index 171c649a19dd65..31536000fc8d2f 100644 --- a/src/node_native_module_env.cc +++ b/src/node_native_module_env.cc @@ -152,7 +152,7 @@ MaybeLocal NativeModuleEnv::LookupAndCompile( } // TODO(joyeecheung): It is somewhat confusing that Class::Initialize -// is used to initilaize to the binding, but it is the current convention. +// is used to initialize to the binding, but it is the current convention. // Rename this across the code base to something that makes more sense. void NativeModuleEnv::Initialize(Local target, Local unused,