JavaScript (Week 1) Flashcards

1
Q

Data Type

A

A kind of data, defined by the values it can hold and the operations that can be done to it

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

Primitive type

A

A kind of data type. Primitives in JavaScript are: string, number, boolean, null, undefined and symbol

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

Variable

A

A container for a value. The main building block for all programming

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

Declare

A

Creating a new variable (distinct from assignment)

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

Assignment

A

Assigning a value to a variable

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

Concatenation

A

The binding of multiple strings together using the + string operator

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

Interpolation

A

The process of injecting a variable directly into a string

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

Template literal

A

Template literals are string literals that provide an easy way to interpolate a variable or expression into a string

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

Operator

A

Symbols that are used to assign, compare and perform operations

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

Conditional

A

An expression that evaluates true or false, or a control flow statement that executes code

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

Function

A

A predefined and reusable group of behaviors

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

Call / Invoke

A

Running a function

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

Parameters

A

The variables declared in a function definition

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

Arguments

A

The variables passed to a function when it’s called/invoked

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

HTML element

A

A building block that makes up the structure of a web page

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

CSS Selector

A

A way to identify a set of elements, typically using a tag, class or id

17
Q

Interface

A

A shared boundary across which two separate components exchange information

18
Q

DOM

A

Document Object Model, the JavaScript interface used to interact with HTML

19
Q

Event

A

Any event which takes place in the DOM, these can be generated by users or the browser

20
Q

Event Handler

A

A function that will run when a specific event occurs

21
Q

Method

A

A type of function for a specific object