Hello! I was taking a JS course on Udemya (JS: Understanding the Weird Parts) and one the examples I was following along had us write out some basic code and look at how it impacted developer tools.
This was the code in the text editor:
var a = 'Hello World!'
I expected to see the variable ‘a’ and empty function ‘b’ show up under the windows object but could not find it anywhere.
This was what I expected to see and was created by using a different text editor:
I’m new to programming and using text editors so go easy on me lol