Level 4 Level 6
Level 5

Literals, Literals


10 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
represent
You use literals to ____ values in JavaScript.
elements
Array literals consist of zero or more array ____ enclosed in square brackets ([]). (Ex: var myArray = [1, 2, "doggy"];)
commas
In an array, if you place two ____ in a row an undefined object is created at that index in the array. A comma at the end of your array is ignored and may even cause an error in older browsers.
0-based
In an array of length four, the last item is referenced as [3] because in JavaScript arrays are ____. They start at 0, not 1.
evaluates
Any Boolean literal that is not either undefined or null ____ to true because it exists.
primitive
Boolean objects are wrappers for the ____ Boolean types true and false.
Integer
____ literals can be expressed in decimal (base 10), hexadecimal (base 16), octal (base 8) and binary (base 2).
exponent
Floating-point literals must consist of at least one digit and either contain a decimal point or "e" (or "E") (which stands for ____). (Ex: 3.14, 3e12, 3.14E-12)
property names
An object literal is a list of zero or more pairs of ____ and associated values of an object, enclosed in curly braces ({}).
quotation marks
A string literal is zero or more characters enclosed in double (") or single (') ____.