Your setup check can print a report and still contain a misspelled name. Python usually stops at a missing attribute. JavaScript can carry the missing value through several lines before it crashes. You’ll learn to trace that crash back to its source before sending the report to the onboarding channel.
Read a Missing Property
What Python calls an attribute, JavaScript calls a property. Python’s sys.verison raises AttributeError at the read. During the port, a similar slip leaves process.verison in the JavaScript. Before you run these lines, predict whether either line prints or the property read raises an error:
console.log(process.verison);
console.log("Still running");
Both lines print:
undefined
Still running