1const { 2 Worker, 3 workerData, 4 threadId 5} = require('worker_threads'); 6 7if (threadId < 2) { 8 new Worker('1 + 1', { eval: true }); 9} 10