summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nextTick.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nextTick.js b/lib/nextTick.js
index a69b87e..9a1d6a0 100644
--- a/lib/nextTick.js
+++ b/lib/nextTick.js
@@ -1,6 +1,6 @@
'use strict';
-import { hasNexTick, hasSetImmediate, fallback, wrap } from './internal/setImmediate';
+import { hasNextTick, hasSetImmediate, fallback, wrap } from './internal/setImmediate';
/**
* Calls `callback` on a later loop around the event loop. In Node.js this just
@@ -34,7 +34,7 @@ import { hasNexTick, hasSetImmediate, fallback, wrap } from './internal/setImme
*/
var _defer;
-if (hasNexTick) {
+if (hasNextTick) {
_defer = process.nextTick;
} else if (hasSetImmediate) {
_defer = setImmediate;