Level 8 Level 10
Level 9

[No Typing] Literals & Variables


16 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?
Types
The kinds of values that can be stored and manipulated in a programming language
Fixed values and Variable values
The JavaScript syntax defines two types of values:
Literals
Fixed values are called _______
Numbers, Strings
Literals can be _______ or _______
Variables
Variable values are called _______
numbers, booleans, strings
3 basic types of variables
strings
In programming, variables that contain text are called _______ . They must be surrounded with quotation marks such as in the example below.
strings
_______ are text, written within double or single quotes
var
Which keyword is used to define a variable?
...the variable becomes part of the global scope
If you don't use keyword 'var' for declaration, ...
an equal sign (=)
_______ is used to assign values to variables
assignment operator
Operator used to assign values to JavaScript variables
var
a catch-all data type
Hyphens, Underscore, Camel Case
programmers have used three ways of joining multiple words into one variable name
camelCase
a common naming convention used in scripting languages, in which two words are placed together with no space between and the second word capitalized.
lowercase letter
camel case often starts with a _______