Trellix Interview Question

How can you create a multithreaded program using JavaScript ?