fs.fdatasyncSync() Method
Don’t start fs.fdatasyncSync() Method with jargon. Start with fetch a user then marks. That is the whole point.
Keep fs.fdatasyncSync() Method small. Rohit should finish fetch a user then marks in a few lines, not a 40-line dump.
fs.fdatasyncSync() Method exists so Rohit can keep fetch a user then marks correct in an API handler.
fs.fdatasyncSync() Method shows up in an API handler. Name fetch a user then marks, not “a real-world scenario”.
fs.fdatasyncSync() Method trap — unhandled rejection. Rohit loses marks for that every viva.
fs.fdatasyncSync() Method is not a lonely heading. Rohit ties it to fetch a user then marks.
Close fs.fdatasyncSync() Method with: “If I skip it, fetch a user then marks goes wrong like this: unhandled rejection.”
Say fs.fdatasyncSync() Method in one breath, then async function + try/catch, then unhandled rejection.