blob: c433c0bab3f1006af1eb029f2ec556d9fbb83049 (
plain)
1
2
3
4
5
6
7
8
9
10
|
'use strict';
require('../common');
process.maxTickDepth = 10;
let i = 20;
process.nextTick(function f() {
console.error('tick %d', i);
if (i-- > 0)
process.nextTick(f);
});
|