We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bce5e8 commit bac537bCopy full SHA for bac537b
1 file changed
lib/repl.js
@@ -329,15 +329,15 @@ REPLServer.prototype.createContext = function() {
329
330
// make built-in modules available directly
331
// (loaded lazily)
332
- exports._builtinLibs.forEach(function(name){
+ exports._builtinLibs.forEach(function(name) {
333
Object.defineProperty(context, name, {
334
- get: function(){
+ get: function() {
335
var lib = require(name);
336
context._ = context[name] = lib;
337
return lib;
338
},
339
// allow the creation of other globals with this name
340
- set: function(val){
+ set: function(val) {
341
delete context[name];
342
context[name] = val;
343
0 commit comments