Loops

For Loop

for (let i = 0; i > 10; i++) {
	// code
	break;
};

for (let val in list) {
	// val contains a value of list for each itteration
	// works with object keys aswell (the attributes of an object)
}

While Loop

while (condition) {
	// code
}

do {
	// code
} while (condition);