Level 18 Level 20
Level 19

[Quiz] Basics II

18 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

The ____ method displays a dialog box with a specified message, along with an OK and a Cancel button. It returns true if the user clicked "OK", and false otherwise.
The ___ method displays a dialog box that prompts the visitor for input. It returns the input value if the user clicks "OK" or null if the user clicks Cancel.
In programming, variables that contain text are called _______ . They must be surrounded with quotation marks such as in the example below.
Numbers, Strings
Literals can be _______ or _______
the interpreter doesn't print everything it does. ___ makes to interpreter do so.
comparison operators
2<1 evalutes to false
block of code
a collection of statements starting with { and ending with }
conditional statement
these statements allow your program to make decisions!
if/else statement
fork in the road
figuring out what went wrong with your code
addition / subtraction
code uses order of operations
3 + "lawlercat".length == 12
functions with numerical return types
modulo / modulus
very practical for using with a conditional statement to test for divisibility or if a number is odd or even.
The substring() method...
... extracts the characters from a string, between two specified indices, and returns the new sub string.
A means of storing the result of a JavaScript command.
Which keyword is used to define a variable?
variable examples