Explore Courses Blog Tutorials Interview Questions
0 votes
in Web Technology by (7k points)

What is the difference between JavaScript and NodeJs?

1 Answer

0 votes
by (13.1k points)

The web browsers and Nodejs run javascript scripts. The main difference is that Nodejs is a server-side framework and executes javascript code in a server and not in the environment of a web browser. There isn’t any concept like Nodejs file, there are only scripts that run on the client-side or the sever-side.

Moreover, JavaScript is a language and Nodejs is a framework of JavaScript. All browsers have JavaScript engines that run the web pages like Spidermonkey for Firefox, V8 for Chrome.

NodeJs is simply the V8 engine bundled with some libraries to do I/O and networking.

Want to be a full stack developer? Check out the full stack developer course from Intellipaat.

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
2 answers
asked Oct 16, 2019 in Web Technology by Sammy (47.6k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.5k answers


108k users

Browse Categories