Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJScallbacks error-firstSingle-choice MCQ

What is the problem with this error-first callback usage?

const fs = require('fs'); fs.readFile('config.json', 'utf8', (err, data) => { console.log(data.length); if (err) console.log(err); });