fr
fr

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 3378 times
Edit
23
Community Evaluations
developer avatar
Afonso
06/04/2023
No English translation for this question
developer avatar
Fred
13/02/2025
très bon test