Values
Values (Constructors)
Errors
The DOM
100

1 is a number?

What is true?

100

To make a prototype that can be banged!

What is 

new Boolean(true)

or 

new Boolean(false)

?

100

This keyword is used to try something.

What is try?

100

How to get an element by its unique identifier.

What is document.getElementById()?

200

0 / 0

What is NaN?

200
To make a prototype that can be --sed.

What is 

new Number(num)

?

200

What keyword, along with try, is used to catch an Error?

What is catch?

200

How to get an array of elements by their class names.

What is document.getElementsByClassName()?

300

var a;

(function() {
    return a;
})();

What is undefined?

300

To make a prototype that can be called (arguments optional).

What is

new Function(function() {

    // Stuff

})

?

300

To create an Error, use the ___ keyword.

What is throw?

* Sidenote: console.error doesn't actually produce an Error. In an Error, the running of code stops.

300

How to get an array of elements by their tag names.

What is document.getElementByTagName()?

400

typeof null;

What is the string "object"?

400

To make a prototype that can be appended with +=

* No, it is not a number

What is

new String("string name")

?

400

The output of this:



try {

    alert(foo);

}

catch(err) {

     alert("Hello World!");

}


What is a pop-up with the message displaying "Hello World!".

500

An unrepresentable value. It's not even equal to itself!

What is NaN?

500

You throw this.

What is 

new Error("Error name.")

?

* Sidenote: doing throw Error("Error Name") will result in the same thing, but this category is about Constructors.

500

The output of this:

var foo = 5;

try {

    alert(foo);

}

catch(err) {

     alert("Hello World!");

}

What is a pop-up with the message "5".