Closed
Description
- Version: v10.0.0-nightly20180309099e621648
- Platform: Win10 x64
- Subsystem: ?
var fs = require('fs/promises');
fs.readFile(path,"utf8").then((data)=>...
data will be of type string, when specifying the encoding in the method call, but with the latest version (v10.0.0-nightly20180309099e621648) I have to data.toString("utf8")
again, to get the result as string.
By design?