In the first quiz on animations II it sais:
MyFunction:([
1
2
3
4
5
…
]
Shouldnt it be
:([…I’m not sure I understand your question. The code has 2 parts: the function declaration and the function call.
myFunction
and describes what it does. It will take an array and store it in aList
. Then it will loop through each item in aList
and print it out.[1,2,3,4,5]
as the input to myFunction
and then runs the code in the myFunction
definition.–Frankie
Oh i am sorry, i thought we were assigning the array to a cariable my bad