JavaScript Chapter 2 Vocab

JavaScript Chapter 2 Vocab

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

prefix operator

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 14, 2020

Cards (35)

Section 1

(35 cards)

prefix operator

Front

An operator placed before a variable.

Back

falsy values

Front

six values that are treated in comparison operations as the Boolean value false

Back

innerHTML property

Front

the property of a web page object whose value is the content between the element's opening and closing tags.

Back

textContent property

Front

a property similar to the innerHTML property, except that its value excludes any HTML markup.

Back

postfix operator

Front

an operator that is placed after a variable name.

Back

return statement

Front

a statement in a function that returns a value to the statement that called the function.

Back

binary operator

Front

an operator that requires an operand before and after it

Back

global variable

Front

a variable that is declared outside a function and is available to all parts of your program, because it has global scope.

Back

assignment operator

Front

An operator used for assigning a value to a variable.

Back

function braces

Front

the set of curly braces that contain the function statements in a function definition.

Back

parameter

Front

a variable that is used within a function

Back

call

Front

to invoke a function from elsewhere in your code

Back

conditional operator

Front

the ?: operator, which executes one of two expressions based on the results of a conditional expression.

Back

empty string

Front

a zero-length string value.

Back

arguments

Front

the variables or values that you place in the parentheses of a function call statement

Back

Boolean value

Front

a logical value of true or false

Back

anonymous function

Front

a set of related statements with no name assigned to it.

Back

function call

Front

the code that calls a function, which consists of the function name followed by parentheses, which contain any arguments to be passed to the function.

Back

data type

Front

the specific category of information that a variable contains, such a numeric, Boolean, or string

Back

adding an event listener

Front

specifying an event handler with the addEventListener() method.

Back

arithmetic operators

Front

operators that perform math operations such as addition, subtraction, multiplication, and division

Back

function

Front

a related group of JavaScript statements that are executed as a single unit

Back

logical operators

Front

&& [and] || [or] ! [not]

Back

function statements

Front

the statements that do the actual work of a function, such as calculating the square root of the parameter or displaying a message on the screen, and which must be contained within the function braces.

Back

operator precedence

Front

the system that determines the order in which operations in an expression are evaluated.

Back

concatenation operator

Front

the plus sign (+) when used with strings; this operator combines, or concatenates, string operands.

Back

passing arguments

Front

sending arguments to the parameters of a called function.

Back

local variable

Front

A variable that is declared inside a method and that exists only within that method. Local variables cannot be accessed from outside their home method, and do not interfere with any other methods.

Back

named function

Front

a set of related statements that is assigned a name.

Back

escape character

Front

The backslash \ is called an escape character.

Back

loosely typed

Front

description of a programming language that does not require you to declare the data types of variables.

Back

strongly typed

Front

description of a programming language that requires you to declare the data types of variables.

Back

unary operator

Front

an operator that requires only a single operand

Back

truthy values

Front

all values other than the six falsy values; truthy values are treated in comparison operation as the Boolean value true.

Back

comparison operator

Front

an operator used to compare two operands and determine if one value is greater than another.

Back