Hi everyone,
I obtained this error when trying to run my experiment online:
orthographic_learning.js:2244 Uncaught SyntaxError: Illegal return
I’m not sure if the error is caused by the fact that this routine is part of two nested loops (an outer loop and an inner loop). My goal is to repeat the incorrect trials (in the inner loop) until the participant gets them right.
I’d appreciate any help understanding whether this issue is due to how loops are structured in the experiment, or if the problem is related to code placement/context for return Scheduler.Event.NEXT; Sign in · GitLab