PsychoPy Python to Javascript crib sheet

Please, add this solution to the ReferenceError: assignment to undeclared variable currentLoop message: No loop but this error "ReferenceError: currentLoop is not defined" - #7 by wakecarter.

Thank you