JavaScript Language

Parentheses ()

Parentheses determine the order of operation in math eqautions. They also hold parameter names when defining a function and hold argument values when calling a function. They also surround conditional statements in some functions such as if (x = y) {console.log("nice")}

Brackets []

Brackets hold the values in an array. E.g. nums [1, 2, 3, 4]

Braces {}

Braces are used to define objects, with values in them created as properties. They hold blocks of code within functions E.g. banana {eat banana; enjoy banana}

Single quotes ' ' and Double quotes " "

Single and double quotes are used to create a string. Single quotes are used in JavaScript code, allowing for the insertion of double quotes on attributes of appended HTML snippets.