Files go to a helper
An fs.readFile call and a log after it. Watch where the reading happens.
const fs = require('node:fs');fs.readFile(__filename, () => console.log('file read'));console.log('sync done');1. Predict the output
Tap the lines in the order you think they print.
- 1…
- 2…