Short-term Memory (question)


#1


At the end where you scan "eggs" twice and "magazine" 3 times, is there any way to just multiply by 2 and 3 respectively instead of having to write it all out?

EDIT: I have seen the next exercise



#2

I'm afraid that there isn't any way that I know of at the moment. I already tried the obvious by saying times 3 but that didn't work. My suggestion is that you take it down to the Codecademy labs and experiment on it there :slight_smile:


#3

it's ok, the next exercise explains how to do it. thanks though


#4

Oh yeah, I was just taking a look at the next exercise out of curiosity of what you meant and I was about to edit my answer. I had just now remembered doing this section of Java Script. At least you figured it out :slight_smile:


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.