Node.js - Worker Threads
Which of the following is the correct way to create a new Worker thread in Node.js?
Worker class is instantiated with the path to the worker script as a string.new Worker('./worker.js'). Other options are not valid methods or functions.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions