Assertion: new promise | /r/HasProperty | res
Facets:
Source sentences:
text: function readFile (filename, enc) { return new Promise( function (fulfill, reject) { fs.readFile(filename, enc, function (err, res) { if (err) reject(err); else fulfill(res); }); }); }