Recording Code Variables on Pavlovia (Builder)

Hello PsychoPy Community,

It is easy enough to recording variables assigned in the code component using the Builder offline:


However, when designing an online study (it appears that) you need to code this in JavaScript: how do a write an equivalent line in JS?

Thank you!

Solved my own problem:


i.e., the js syntax requires a semicolon on the end.