Javascript Functions
This notebook has a few common javascript fucntions it explains each of their functions and shows their outputs.
console.log("hello world") // Console acts as a print and prints what is in the parenthesis
// var: assigns variable
var msg="hey";
console.log(msg)
// var: assigns variable
var msg="user";
console.log("hi " + msg) // "str" + var : this prints the string and then what the variable is assigned right after
console.log(Math.max(1, 3, 2, 4, 5, 2, 9)); // Math.max will find max value and uses console to print