Visual Studio Code – Uncaught reference error: [variable] is not defined
I am a beginner, just learning JavaScript and have created an object (in VS Code) to practice editing properties etc. However, when I try to run the script in the browser console it says the object is not defined -…