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 2804 times
Edit
21
Community Evaluations
developer avatar
Auteur anonyme
06/04/2023
No English translation for this question