Section 1

Preview this deck

%

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 1, 2020

Cards (27)

Section 1

(27 cards)

%

Front

modulus; finds the remainder of an equation

Back

concatenation

Front

combining multiple strings into one using +

Back

variable

Front

"buckets"; hold data and make that data available for reuse later

Back

functions

Front

a reusable block of code that takes arguments, groups statements together, and can be called on to execute the code contained within

Back

array

Front

simple lists that contain zero or more objects, and can house any data type

Back

console.log()

Front

prints to screen

Back

control flow

Front

making decisions with code

Back

arg

Front

abbr. argument

Back

/ /

Front

multi-line comment

Back

.length

Front

finds the number of items in an array

Back

Math.random()

Front

generates a random number between 0 and 1

Back

parameters

Front

variables that are only accessible inside the function and are used to represent any values that are passed in as arguments when the function is called

Back

param

Front

abbr. parameter

Back

boolean

Front

a data structure that represents true or false

Back

=

Front

assignment operator

Back

camelCase

Front

naming variables with a lowercase initial letter, capital letters for each additional word, and no spaces

Back

Math.floor()

Front

rounds a generated number down to the nearest whole number

Back

//

Front

single-line comment

Back

==

Front

equal to

Back

>=

Front

greater than or equal to

Back

&&

Front

and

Back

<=

Front

less than or equal to

Back

interpolation

Front

inserting variables into strings

Back

string

Front

a combination of letters, numbers, and special characters, surrounded by matching quote marks

Back

call stack

Front

a reverse chronological list of code that demonstrates the steps the program took to produce the error

Back

||

Front

or

Back

Math.floor(Math.random()*25)

Front

generates a random whole number between 0 and 25

Back