Answer the question
In order to leave comments, you need to log in
What is the timing of a while loop in JavaScript?
I started learning programming in JS, it became interesting how often the interpreter executes the script, at what speed, I created this code:
I launched it in Chrome, I see that the icon on the tab is always rotating, the question arose, what is responsible for this, the V8 browser engine? How fast does it run the loop over and over again, with what frequency in milliseconds?
PS The processor is almost not loaded at this moment while(true);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question