reading-notes

JavaScript Notes

What are variables in JavaScript?

Variable may be referred to as an identifier. Basically it tells your website how to know how to respond to different tho]ings that may occur on your website

var x=10;

What does it mean to declare a variable?

Declaring a variable is giving a value to a given variable

What is an “assignment” operator, and what does it do?

Java script uses an Equal Sign to as an assignment opperator. However, it is worth noting that the equal sign does not actual mean ‘equal to’. In order to declare a variable as ‘equal to’ you would write it as

x==5

Using one equal sign would designate that its roughly equal to but not exactly equal to

What is information received from the user called?

Input