Quiz: Javascript Review - Local Variable Question



I had a question regarding the following problem on the quiz:

I had thought that the answer was 1, as the only variable declared within a function is "val", but that showed as incorrect.


That is strange :confused:

Maybe it wants a count of all the parameters passed into the function as well?

Sometimes code academy does the strangest things lol.


number and phase are also variables that only exist inside the function.