Basics
Functions
Arrays & Flow
Error!
DOM
100

VS Code, Sublime, and Notepad++ are examples of this.

Text Editor

100

These values are passed into a function when it is called.

Arguments

100

This method will add an element to an array

.push()

100

This error type will not cause any warnings or notifications to the user or developer. 

Logic Error

100

This object represents "the entire webpage" in the DOM.

document

200

HTTPS is an acronym for this standard.

HyperText Transfer Protocol Secure

200

an unnamed function that is executed immediately.

Anonymous Function

Bonus: What advanced JS feature allows for shorter anonymous functions?

200

This method will add new items to the beginning of an array.

unshift()

200

This control structure is used for handling errors.

Try, Catch

Bonus: What related statement will ensure a block of code will run regardless of whether or not an error occurs. 

200

This method us used to select all elements that match a specified CSS selector.

document.querySelectorAll()

300

This statement indicates you want your code to be evaluated as a duck typed script.

use strict;

300

This happens when an extra argument is sent to a function.

It is ignored

300

This flow control feature repeats a block of code a number of times.

For Loop

Bonus: What method executes a given function for each array in an element?

300

This statement will programmatically generate an error.

throw

300

This method will remove a specific attribute from an element.

removeAttribute()

400

This is the international, standardized version of JavaScript

ECMAScript

400

This feature allows functions to be called with any number of arguments

... (The "rest" parameter)

400

this method creates a new array with all elements that pass a test implemented by a provided function.

filter()

400

This object is typically thrown as an error, and is used/modified for custom error handling.

Error Object

400

This method will add HTML content to the end of an element in the DOM.

insertAdjacentHTML()

500

This is how you indicate a strict comparison in a condition statement.

=== 

500

This value is returned when a function ends without a return statement.

undefined

500

This is the output for the following code: 

function mysteryFunction() {
    var output = [];
    for (var i = 0; i < 3; i++) {
        output.push(function() { return i; });
    }
    return output;
}

var result = mysteryFunction();
console.log(result[0]());
console.log(result[1]());
console.log(result[2]());

3
3
3

500

This type of error occurs when you use an undeclared variable

ReferenceError

500

This method will create an exact copy of a node, optionally including all its children.

cloneNode()