Skip to main content
๐Ÿ› Bug HuntND Node.js Easyโšก+10 XP

Sync in Async Context

This blocks the event loop and degrades performance.

๐Ÿ› Find the bug
1app.get('/file', (req, res) => {
2 const data = fs.readFileSync('big.txt');
3 res.send(data);
4});
๐Ÿ› The bug is on line 2

๐Ÿ”ง Select the correct fix: