Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on V8 adds support for top-level await. Parent comment
There simply is no concurrency in JavaScript, so lock primitives are not solving any problem that JavaScript has.
Can you give an example of some code where you think locks would help you?
There are no comments on this comment yet.
There simply is no concurrency in JavaScript, so lock primitives are not solving any problem that JavaScript has.
Can you give an example of some code where you think locks would help you?