3 ms·
Read what I said again. Javascript is a language that will be executed using several threads when run in the browser environment. However, that isn't the point
by otabdeveloper1 8y ago
Read what I said again. Javascript is a language that will be executed using several threads when run in the browser environment.
However, that isn't the point. The point is that multiple Javascript scripts will be executing concurrently (via cooperative multitasking) and manipulating the same DOM elements.
This is absolutely a source of race conditions and a huge, HUGE pain in the ass for programmers who think Javascript is a 'single-threaded language'.