I
I
idze2015-01-15 11:47:58
JavaScript
idze, 2015-01-15 11:47:58

Does setInterval create a new thread?

Does setInterval create a new thread?
Or somehow works asynchronously in the browser.
The question is not about node.js or the like. Just in the browser.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Melnikov, 2015-01-15
@idze

no, it moves code execution to the end of the thread

S
shqn, 2015-01-15
@shqn

I advise you to read habrahabr.ru/post/138062

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question