JavaScript (Week 2) Flashcards

1
Q

Literal

A

A way of declaring a data structure and its values at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Array

A

Used to store a collection of data items/multiple values under a single variable name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Element

A

A single item stored in an array. An element can be of any data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Loops

A

A quick and easy way to do something repeatedly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Control Flow

A

The order in which the computer executes statements in a script. The order of execution can change whenever the computer runs across the (extremely frequent) structures that change the control flow, such as conditionals and loops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Object

A

A bundle of behavior (methods) and state (properties)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Key

A

The name used to reference a Value on an Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Value

A

The data referenced by a Key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Property

A

Another word for the Key portion of a key-value pair on an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Method

A

A function on an Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Dot Notation

A

Notation to access a Value on an Object, explicitly specifies the Key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Bracket Notation

A

Notation to access a Value on an Object, usually specifies a Key via a variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

this

A

A variable that changes depending on the context in which it’s used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Class

A

A constructor that allows us to create multiple instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Object Instance

A

Objects that contain the data and functionality defined in the class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

TDD

A

Test Driven Development / Design

17
Q

Assertion

A

An expression containing some testable logic

18
Q

Assertion Library

A

A package of assertion functionality. Usually distinct from a Testing Framework

19
Q

Testing Framework

A

A library that determines how tests are organized and executed