diff --git a/src/node.cc b/src/node.cc index 167335257dbafc..b6acc9d5c4815d 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2967,7 +2967,7 @@ void LoadEnvironment(Environment* env) { env->isolate()->AddMessageListener(OnMessage); // Compile, execute the src/node.js file. (Which was included as static C - // string in node_natives.h. 'natve_node' is the string containing that + // string in node_natives.h. 'native_node' is the string containing that // source code.) // The node.js file returns a function 'f' diff --git a/src/node.js b/src/node.js index 001a47657f816a..a2b21fb4342b3e 100644 --- a/src/node.js +++ b/src/node.js @@ -1,8 +1,9 @@ // Hello, and welcome to hacking node.js! // -// This file is invoked by node::Load in src/node.cc, and responsible for -// bootstrapping the node.js core. Special caution is given to the performance -// of the startup process, so many dependencies are invoked lazily. +// This file is invoked by node::LoadEnvironment in src/node.cc, and is +// responsible for bootstrapping the node.js core. As special caution is given +// to the performance of the startup process, many dependencies are invoked +// lazily. 'use strict';