Reputation: 43501
var arrayProcessTimeout;
arrayProcessTimeout = setTimeout(function() {
console.log('hard');
return null;
}, 50);
That's my code in Node.js
and one would expect it to output hard
constantly.. but it doesn't. It outputs it once and that's it.
Upvotes: 1
Views: 593