DEV Community

Md. Hasibul Hasan
Md. Hasibul Hasan

Posted on

What is Nodejs? Difference between Nodejs and JS.

Nodejs is an open-source, server-side JavaScript runtime. It is also used in cross-platform and backend environments. Nodejs runs in the google chrome V8 engine and executes code outside of the web browser.
Difference between Nodejs and JavaScript
i) Nodejs is a JavaScript runtime but JavaScript is a scripting programming language.
ii) Nodejs basically used on the server-side but JavaScript is used on the client-side.
iii) Nodejs run JavaScript code outside the browser but JavaScript runs only the client-side or browser.
iv) Nodejs is used for server-side development but JavaScript is used for client-side development.
v) Nodejs is written in C++ but JavaScript follows the java programming language standard and it is the updated version of the ECMA script.

Top comments (0)