JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumJavaScript
What's the bug in this code?
code
function process(cb) {
if (err) {
cb(err);
}
cb(null, 'success');
}Loading compiler resources...
Active Recall Drill Session
function process(cb) {
if (err) {
cb(err);
}
cb(null, 'success');
}