Question 21 of 10021%
21

What happens when the following JavaScript code runs?

let shouldRun = true;

setTimeout(() => {
  shouldRun = false;
}, 2000);

while (shouldRun) {
  console.log(shouldRun);
}
21/100