Question from the Javascript - Fundamentals test

Fix the following Javascript loop:

Easy

What needs to be changed in the following loop for it to be correct?

let seats  = 218;
let spectators =0;
let queue = 350;

while (?) {
   spectators ++; 
   queue --;
   seats --;
}
Author: CamilleStatus: Published(Update)Question passed 2370 times
Edit
16
Community Evaluations
developer avatar
Afonso
06/04/2023
No English translation for this question