+ 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?
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
+ 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
+ 1
Thanks guys