Numbers

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);
3
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);
11

Boolean

Boolean(w > q) // Boolean is another key point for the use of variables, Boolean is True and False
true
Boolean(w < q)
false

String

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
ZestyYeungs

List

const groupnames = ["Dillon", "Rohan", "Adi", "Tay"]; // another type of data is a list containing multiple data points

console.log(groupnames);
[ 'Dillon', 'Rohan', 'Adi', 'Tay' ]
const group = [
    "Dillon", 
    "Rohan", 
    "Adi", 
    "Tay"
]; 
console.log(group); // connects to data abstraction where data points can be pulled from lists
[ 'Dillon', 'Rohan', 'Adi', 'Tay' ]