node.js - Unexpected behavior of util.inspect -


util.inspect seems behave differently in node repl , custom repl

$ node > require("util").inspect([]) '[]' > 

output in custom repl

$ node repl.js > require("util").inspect([]) 'array []' > 

content of repl.js

var repl = require('repl'); repl.start({     input: process.stdin,     output: process.stdout }); 

i can't duplicate current master branch. '[]' in both cases.

my guess fixed in 089d68861.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -