Maybe `typeof setImmediate is "function"` would be a better check, since node.js also supports `setImmediate()`