Description of the problem: Hi, I use the code below to ask participants for their consent, but an ‘n’ response will not quit the experiment but trigger this error TypeError: core.quit is not a function. I remember it was working fine a month ago, but not 100% sure.
Dear Xiaotong,
Have you found any function to terminate the experiment?
Because I have also the same problem and I have received the ’ Core.quit() is not a function’ error message.
Please share the command which you used to terminate the experiment while running.
Many thanks,
Sumathi.
If you’re only having this problem online in Pavlovia, the answer above is correct. Change core.quit() to psychoJS.quit() and it should work no problem!