From 5915f8da75e1af6ba1020112d5c7489cd51ac48b Mon Sep 17 00:00:00 2001 From: E <2061889+toocomputer@users.noreply.github.com> Date: Mon, 21 Jul 2025 16:02:30 -0400 Subject: [PATCH 1/2] Update introduction-to-nodejs.md Revise for clarity. Signed-off-by: E <2061889+toocomputer@users.noreply.github.com> --- .../pages/en/learn/getting-started/introduction-to-nodejs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md index 81908863eda01..a97e7ead7166b 100644 --- a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md +++ b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md @@ -10,7 +10,7 @@ Node.js is an open-source and cross-platform JavaScript runtime environment. It Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant. -A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm. +A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and libraries in Node.js are, generally, written using non-blocking paradigms, making blocking behavior the exception rather than the norm. When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back. From 211571a59691e58114e6e9155e013680c1b1b220 Mon Sep 17 00:00:00 2001 From: E <2061889+toocomputer@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:20:29 -0400 Subject: [PATCH 2/2] Update introduction-to-nodejs.md Signed-off-by: E <2061889+toocomputer@users.noreply.github.com> --- .../pages/en/learn/getting-started/introduction-to-nodejs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md index a97e7ead7166b..1014df5e53890 100644 --- a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md +++ b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md @@ -10,7 +10,7 @@ Node.js is an open-source and cross-platform JavaScript runtime environment. It Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant. -A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and libraries in Node.js are, generally, written using non-blocking paradigms, making blocking behavior the exception rather than the norm. +A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking. In addition, libraries in Node.js are generally written using non-blocking paradigms. Accordingly, blocking behavior is the exception rather than the norm in Node.js. When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.