diff --git a/lib/index.node.js b/lib/index.node.js index 79a2112..ae5bc8e 100644 --- a/lib/index.node.js +++ b/lib/index.node.js @@ -827,8 +827,6 @@ let _useWorkers = false // The following is just to check whether we can use wor This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers. · With Node >=11 it is enabled by default (consider upgrading). · With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `) - /* istanbul ignore next */ - _useWorkers = true } } /* eslint-enable no-lone-blocks */ diff --git a/src/js/index.js b/src/js/index.js index 385b8ed..c662dd5 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -676,8 +676,6 @@ if (!process.browser) { // Node.js This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers. · With Node >=11 it is enabled by default (consider upgrading). · With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `) - /* istanbul ignore next */ - _useWorkers = true } } else { // Native JS if (self.Worker) _useWorkers = true