Hi,
I will be using Javascript code in a Qualtrics question to run a Javascript game of Tetris. I have put this code in the Javascript editor however it appears that the Javascript operators async and await are not able to be recognised in the Qualtrics Javascript editor. It says "Invalid JavaScript! You cannot save until you fix all errors: Unexpected token function." However, when I remove async and await from the Javascript code there is no problem and the code is able to be saved so there appears to be something with async and await that isn't recognised by Qualtrics?
Could you please advise me on what to do? It would be really great if I could get this up and running as the async and await operators are essential for what I want to do with the code.
Thank you for your help!
Question
async and await Javascript operators are not recognised in the Javascript editor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
