Answer the question
In order to leave comments, you need to log in
Why does node.js kill while?
There is a code:
var i = 0;
while(true){
i++;
console.log(i);
}
Answer the question
In order to leave comments, you need to log in
https://github.com/nodejs/node/issues/6379
However, writing to the terminal at such a speed is usually not necessary, and if you redirect the output, then there is no problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question