Trellix interview question

How can you create a multithreaded program using JavaScript ?