Variables in JavaScript (mod3)

The most fundamental thing to learn in programming is how to set variables. Just pair two words or numbers together with an equal sign in the middle ( var something = “something else”). Of course there are certain rules with data types like: strings need to be in quotation marks. But, it’s not to difficult or thought provoking. Every program starts off with needing to set variables. My only complaint is having to display them. As someone who has been doing object oriented programming his entire college profession, you’d think that this would be simple. Apparently the rules aren’t the same for all languages. Calling one variable from a statement with multiple variables in it is the easy part. The challenge is calling all variables from that one statement (yet to figure out).

Leave a comment