You have the following code.
You need to recommend a solution to ensure that myLongFunction is executed as a separate thread. Which type of object should you use?
A. worker
B. reflect
C. prototype
D. eval
You have the following code.
You need to recommend a solution to ensure that myLongFunction is executed as a separate thread. Which type of object should you use?
A. worker
B. reflect
C. prototype
D. eval