Differences between Javascript and NodeJs

At first it was hard for me to understand the differences because for me, they were the same thing. It was all javascript. But then, I started to understand what each one was used for. For this reason, I share it 🙂

☘ JavaScript is a language that ru…


This content originally appeared on DEV Community and was authored by Maria Antonella ?

At first it was hard for me to understand the differences because for me, they were the same thing. It was all javascript. But then, I started to understand what each one was used for. For this reason, I share it :)

☘ JavaScript is a language that runs inside web browsers as part of the documents loaded by the browser and is used as a client-side development language. It provides the behavior of the pages. Like HTML it provides the semantic structure and CSS the look and feel.

However, being an interpreted language, it needs an interpreter to run. V8 is Google Chrome's JS engine and 'node' is a front-end that can be used to run JavaScript scripts outside the browser. In other words:

☘ NodeJs is an open source, cross-platform environment that allows you to create server-side applications and tools using JavaScript.

A short list of comparisons ??:

JS
? Can only be run in the browsers
? Used on the client-side
? Capable enough to add HTML and play with the DOM
NodeJs
? Can be run outside the browser
? Used on the server-side.
? Does not have the capability to add HTML tags


This content originally appeared on DEV Community and was authored by Maria Antonella ?


Print Share Comment Cite Upload Translate Updates
APA

Maria Antonella ? | Sciencx (2021-08-22T15:50:39+00:00) Differences between Javascript and NodeJs. Retrieved from https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/

MLA
" » Differences between Javascript and NodeJs." Maria Antonella ? | Sciencx - Sunday August 22, 2021, https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/
HARVARD
Maria Antonella ? | Sciencx Sunday August 22, 2021 » Differences between Javascript and NodeJs., viewed ,<https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/>
VANCOUVER
Maria Antonella ? | Sciencx - » Differences between Javascript and NodeJs. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/
CHICAGO
" » Differences between Javascript and NodeJs." Maria Antonella ? | Sciencx - Accessed . https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/
IEEE
" » Differences between Javascript and NodeJs." Maria Antonella ? | Sciencx [Online]. Available: https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/. [Accessed: ]
rf:citation
» Differences between Javascript and NodeJs | Maria Antonella ? | Sciencx | https://www.scien.cx/2021/08/22/differences-between-javascript-and-nodejs/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.