3 ms·
Here's a somewhat contrived example which I haven't tested, but I think illustrates the point although this particular case is probably better handled by other
by michaelmior 13y ago
Here's a somewhat contrived example which I haven't tested, but I think illustrates the point although this particular case is probably better handled by other syntax presented later in the README.
err, data = fs.readFile! path
{
if (err) throw err;
console.log data
}