Using template literals to imbed variables into strings
Back
Undefined
Front
This data type is denoted by the keyword undefined (without quotes). It also represents the absence of a value though it has a different use than null.
Back
Operator
Front
a character that performs a task in our code
Back
few things you can do with variables:
Front
1. Create a variable with a descriptive name.
2. Store or update information stored in a variable.
3. Reference or "get" information stored in a variable.
Back
Number
Front
Any number, including numbers with decimals: 4, 8, 1516, 23.42.
Back
Null
Front
This data type represents the intentional absence of a value, and is represented by the keyword null (without quotes).
Back
dot operator
Front
.
ex: 'How long is this'.length
Back
placeholder
Front
${variableName}
Back
Variables that have not been initialized store the primitive data type ________.
This data type only has two possible values— either true or false (without quotes). It's helpful to think of booleans as on and off switches or as the answers to a "yes" or "no" question.
Back
String
Front
Any grouping of characters on your keyboard (letters, numbers, spaces, symbols, etc.) surrounded by single quotes: ' ... ' or double quotes " ... ". Though we prefer single quotes. Some people like to think of string as a fancy word for text.