adplus-dvertising
frame-decoration

Question

Which is the function that allows a worker to terminate itself?

a.

close()

b.

exit()

c.

terminate()

d.

halt()

Posted under JavaScript

Answer: (a).close()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is the function that allows a worker to terminate itself?