JAVASCRIPT J14 - NODE FILE REPORT
Open a terminal in extracted companion/javascript/j14.
Check Node >=22: node --version
Run the report: node report.mjs
Inspect output/report.json beside the script.
Expected original values: cost_cents 62000, enquiries 18,
cost_per_enquiry_eur 34.44444444444444.
Run checks: node --test report.test.mjs
Alternative shortcuts: npm run report ; npm test
No npm install is needed: there are no external dependencies.
See the chapter for REPORT_DIR configuration and failure exercises.
Answers: ../solutions/J14.md
