What is the difference between JavaScript and node.js? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the difference between JavaScript and node.js?

Hi all. I'm fairly new to JavaScript and I just wanted to know the difference between the two as I've heard about both. Do they have similar uses? and if so what are the advantages of using one over another?

7th Nov 2016, 5:09 PM
Justin Jamgbadi
Justin Jamgbadi - avatar
3 Answers
+ 3
also JavaScript in the browser due to security reasons blocks some of the commands from running some do not exist and some interacts with the browsers engine separated by os. like normally it cant read any file write file acesss clipboard and even can't redirect on any URL or change anything not created by its page. but node.js is like a functional script which has these purposes
8th Nov 2016, 5:24 AM
Sandeep Chatterjee
+ 1
nodejs is superset of JavaScript. where you can find a lot predefined libraries to use in your code. just Google about nodejs you will find a lot of stuff available for study. if you are good at JavaScript programming then nodejs will be very easy for you
7th Nov 2016, 5:33 PM
Harish Sune
Harish Sune - avatar
+ 1
Thanks guys
8th Nov 2016, 6:59 PM
Justin Jamgbadi
Justin Jamgbadi - avatar