---
title: "What is the difference between Node Js vs JavaScript?"  
description: "What is the difference between Node Js vs JavaScript?"  
author: "Ethan Karla"  
published: 2021-02-04  
canonical: https://www.mindstick.com/interview/33774/what-is-the-difference-between-node-js-vs-javascript  
category: "node.js"  
tags: ["javascript", "node js", "scripting", "scripting language"]  
reading_time: 3 minutes  

---

# What is the difference between Node Js vs JavaScript?

## These are some basic difference - between Node Js vs Javascript

| #### JavaScript | #### NodeJS |
| --- | --- |
| The javascript is a scripting(programming) language that is used for writing scripts on the website. | Where, the NodeJS is a Javascript runtime environment. |
| The javascript can only be run on the browsers. | The NodeJS code can be run outside the browser. |
| This is basically used on the client-side. | This is mostly used on the server-side. |
| The javascript is capable enough to add HTML and play with the DOM(Document Object Model). | In the Nodejs does not have capability to add HTML tags |
| The javascript can run in any browser engine as like JS core in safari and [SpiderMonkey in Firefox](https://en.wikipedia.org/wiki/SpiderMonkey). | The Nodejs can only run in V8 engine of google chrome. |
| The javascript is used in frontend development. | The Nodejs is used in server-side development. |
| The some of the javascript frameworks are RamdaJS, TypedJS, etc. | The some of the Nodejs modules are Lodash, express etc. These modules are to be imported from npm. |
| This is the upgraded version of ECMA script that uses Chrome’s V8 engine written in C++. | And the Nodejs is written in C, C++ and Javascript. |

## Answers

### Answer by Ethan Karla

## These are some basic difference - between Node Js vs Javascript

| #### JavaScript | #### NodeJS |
| --- | --- |
| The javascript is a scripting(programming) language that is used for writing scripts on the website. | Where, the NodeJS is a Javascript runtime environment. |
| The javascript can only be run on the browsers. | The NodeJS code can be run outside the browser. |
| This is basically used on the client-side. | This is mostly used on the server-side. |
| The javascript is capable enough to add HTML and play with the DOM(Document Object Model). | In the Nodejs does not have capability to add HTML tags |
| The javascript can run in any browser engine as like JS core in safari and [SpiderMonkey in Firefox](https://en.wikipedia.org/wiki/SpiderMonkey). | The Nodejs can only run in V8 engine of google chrome. |
| The javascript is used in frontend development. | The Nodejs is used in server-side development. |
| The some of the javascript frameworks are RamdaJS, TypedJS, etc. | The some of the Nodejs modules are Lodash, express etc. These modules are to be imported from npm. |
| This is the upgraded version of ECMA script that uses Chrome’s V8 engine written in C++. | And the Nodejs is written in C, C++ and Javascript. |


---

Original Source: https://www.mindstick.com/interview/33774/what-is-the-difference-between-node-js-vs-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
