So while I was coding, I was nice enough to jot some notes down for some of you who are beginners with JavaScript.

confirm("")

console.log()

prompt("")

"Name".length

<= less than or equal too

>= greater than or equal too

=== egual too

command("")

Strings- "Hello" "42"


Example of Modulo:

10 % 2 ===0
200 % 100 ===0

Example of an if statement:

if (2*2 === 4)
{
console.log("Math is easy!")
}
else
{
console.log("Math is hard.")
}

Example of a substring:

"wonderful day".substring(3,7)

the word will come out as "derf."

console.log("JavaScript".substring(0,4));

Example of a function:

var NAME = function (parameter)



Will be updated.