Re:Concurrent JavaScript: It can work
by einrealist on Wednesday August 30, 2017 @04:31PM
(#15135748)
A browser can easily optimise HTTP or localStorage calls internally, without introducing Threads to the "userland" code.
Spoiler: locks are the wrong approach and you should be relying on events/callbacks instead. Oddly enough, that's similar to my gut feeling about Threads in JS.