Who am i? Flashcards

1
Q

I get passed into a function

A

Argument

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

I send values back to the calling code

A

Return

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

I’m the all important keyword

A

Function

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

I’m what receives arguments

A

Parameters

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

It really means “make a copy”

A

Pass-by-value

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

I’m everywhere

A

Global variable

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

Another phrase for invoking a function

A

Function call

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

Example of a function attached to an object

A

Math.random

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

Alert and prompt are examples

A

Built in functions

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

What functions are great for

A

Reusing code

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

Where i can be seen

A

Scope

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

I’m around when my function is

A

Local variable

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