Quiz mistake on animations II


#1

In the first quiz on animations II it sais:
MyFunction:([
1
2
3
4
5

]

Shouldnt it be

:([…


#2

I’m not sure I understand your question. The code has 2 parts: the function declaration and the function call.

  • The function declaration creates 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.
  • The function call is the part below your arrow. It uses the array [1,2,3,4,5] as the input to myFunction and then runs the code in the myFunction definition.

–Frankie


#3

Oh i am sorry, i thought we were assigning the array to a cariable my bad :sweat_smile: