Browse Source

chore: fix typo in `next-tick.js` comment (#10607)

dev
EVILLT 5 years ago
committed by Eduardo San Martin Morote
parent
commit
d7d8ff06b7
  1. 2
      src/core/util/next-tick.js

2
src/core/util/next-tick.js

@ -72,7 +72,7 @@ if (typeof Promise !== 'undefined' && isNative(Promise)) {
isUsingMicroTask = true
} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
// Fallback to setImmediate.
// Techinically it leverages the (macro) task queue,
// Technically it leverages the (macro) task queue,
// but it is still a better choice than setTimeout.
timerFunc = () => {
setImmediate(flushCallbacks)

Loading…
Cancel
Save