The key point for developers here is that unless you write a non-javascript node module, every plain (non-async) Javascript function looks like it runs to completion before another function can alter any data it references. That guarantee makes it way easier to think about concurrency. Async functions break that, but it is still simpler than the arbitrary race conditions you can get in golang, Java, C or C++.
Yes. Cos the event loop which Node.js applications runs on is single-threaded. But it can also be multi-threaded when the app makes use of standard libraries which run on the libuv threadpool like the crypto library.
Manish Vachharajani
The key point for developers here is that unless you write a non-javascript node module, every plain (non-async) Javascript function looks like it runs to completion before another function can alter any data it references. That guarantee makes it way easier to think about concurrency. Async functions break that, but it is still simpler than the arbitrary race conditions you can get in golang, Java, C or C++.