Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是错的吗?
var f = fs.createWriteStream('file'); otherStream.pipe(f); f.on('finish', function() { /*...*/ })
不应该是这样的:
var f = fs.createWriteStream('file'); f.on('finish', function() { /*...*/ }) otherStream.pipe(f);
?
哪个更好,为什么?