Computer Choice: Part 2 - "SyntaxError: return not in function"


#1

https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/0/4?curriculum_id=506324b3a7dffd00020bf661#

I have worked a bit with python so I know what the computer is TRYING to tell me with "return not in function" but I've checked my indentation, checked the hint and suggestions for other problems that have been solved (to compare my code), refreshed my browser, looked for misplaced ;s, checked the codecademy FAQ, used jsbeautifier.com (which only changed the && to 'and').... No luck.

What the (deleted string of bad words) am I missing?

Dr. K

Problem solved computerChoice = "Rock" NOT return "rock"


#5

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