Who am i? Flashcards
1
Q
I get passed into a function
A
Argument
2
Q
I send values back to the calling code
A
Return
3
Q
I’m the all important keyword
A
Function
4
Q
I’m what receives arguments
A
Parameters
5
Q
It really means “make a copy”
A
Pass-by-value
6
Q
I’m everywhere
A
Global variable
7
Q
Another phrase for invoking a function
A
Function call
8
Q
Example of a function attached to an object
A
Math.random
9
Q
Alert and prompt are examples
A
Built in functions
10
Q
What functions are great for
A
Reusing code
11
Q
Where i can be seen
A
Scope
12
Q
I’m around when my function is
A
Local variable