typeof for process.nextTick