You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var fs = require("fs");
var rs = fs.createReadStream('./a.txt');
var ws = fs.createWriteStream('./copy.txt');
rs.on('data', function(chunk) {
ws.write(chunk);
});
It does't show me the write funciton when i enter "ws.", and i only see some functions such as "bind,toString,valueOf...".I don't know why and i need some help.
The text was updated successfully, but these errors were encountered:
var fs = require("fs");
var rs = fs.createReadStream('./a.txt');
var ws = fs.createWriteStream('./copy.txt');
rs.on('data', function(chunk) {
ws.write(chunk);
});
It does't show me the write funciton when i enter "ws.", and i only see some functions such as "bind,toString,valueOf...".I don't know why and i need some help.
The text was updated successfully, but these errors were encountered: