ReferenceError: ndigits is not defined

URL of experiment:
https://run.pavlovia.org/hanbyeol/exp_ms_final

Description of the problem:
Hi I am new to PsychoPy and I encountered the error “ ReferenceError: ndigits is not defined ” while running my problem on Pavlovia.

Is there any wrong in my code?

  // *text_9* updates
    if (t >= 0.0 && text_9.status === PsychoJS.Status.NOT_STARTED) {
      // keep track of start time/frame for later
      text_9.tStart = t;  // (not accounting for frame time here)
      text_9.frameNStart = frameN;  // exact frame index
      
      text_9.setAutoDraw(true);
    }

    frameRemains = 0.0 + 60.0 - psychoJS.window.monitorFramePeriod * 0.75;  // most of one frame period left
    if (text_9.status === PsychoJS.Status.STARTED && t >= frameRemains) {
      text_9.setAutoDraw(false);
    }
    
    if (text_9.status === PsychoJS.Status.STARTED){ // only update if being drawn
      text_9.setText(util.round((60.0 - t), ndigits=0), false);

thank you!!
Will appreciate any help : )

Do you use ndigits?

Try adding ndigits=0 in Begin Experiment

Looking at it probably the actual solution is to delete ndigits=

thank you so much!! :grinning: