Js or Node js which is better? | Sololearn: Learn to code for FREE!


Js or Node js which is better?

8/5/2020 6:41:18 PM

Adeeb Faiyaz

6 Answers

New Answer


Those two things just can't be compared, one language - one framework. NodeJS is a backend JS framework.


NodeJS is a runtime environment for JavaScript that can run on the server side. JavaScript is the language understood by NodeJS. Your question is like asking which is better — Java or JavaVM.


In your terms of meaning: JS)).


Node js - for writing backend. Js - for frontend.


They are different cases. JavaScript is for front-end while node js is for back-end and outside of web browser.


JavaScript is a programming language and Node JS is a JavaScript framework. You can't compare them.