Variables and Assignment in JavaScript
var x = 1; // one way to assign a variable is using var _(variable name)_ = _(value)_;
var y = 2;
var z = x + y; // one of the key points for the use of variables is the use of numbers which can help us with algebraic functions
console.log(z);
const q = 5; // another way to assign a variable is using const _(variable name)_ = _(value)_;
const w = 6;
let s = q + w;
console.log(s);
Boolean(w > q) // Boolean is another key point for the use of variables, Boolean is True and False
Boolean(w < q)
let groupname = "ZestyYeungs"; // another way to assign a variable is using let _(variable name)_ = _(value)_;
console.log(groupname); // another type of data is a string which is just letters that form words
const groupnames = ["Dillon", "Rohan", "Adi", "Tay"]; // another type of data is a list containing multiple data points
console.log(groupnames);
const group = [
"Dillon",
"Rohan",
"Adi",
"Tay"
];
console.log(group); // connects to data abstraction where data points can be pulled from lists