Last Updated: October 04, 2020
·
456
· mattvvhat

Javascript Weird Loop

IIF with a name, calling itself.

~function loop () {
  console.log('x_x');
  setTimeout(loop, 162);
}();

Related protips:

javascript foreach