/my-projects$ node> let foo = (function(){ throw new Error() })() at REPL1:1:30Uncaught ReferenceErrorUncaught SyntaxError: Identifier 'foo' has already been declaredundefined
> bar = (fu
我在node.js中的函数中的函数有问题 var fs = require('fs');
if (err) throw err;
var parseJson = JSON.parse(content);fs.writeFile('date.json', JSON.stringify(parseJson)