Mystery Behind Node js

Mystery Behind Node js

What is Node JS ?

Computer only understands 1 & 0 or in other words Machine Code.

Every programming language has its own Engine. The role of this Engine is to convert the code written to Machine Code.

Example: python has a python virtual machine which converts the byte code instructions to Machine Code

In the case of Javascript, the engine is present in the browser . Hence we can only run javascript in the browsers.

Node js is an open-source javascript virtual environment. What it means is Node js made the javascript engine to be now available on the Local Machine

Because of this, not only can we run javascript in browsers but now we can run javascript on our local machine as well. Not only on our local machine, in fact, javascript now can be used on servers as well with the help of Node js.

Hence it is very often referred to as being server -side or backend

Conclusion: Node js is just a run-time environment nothing else.

要查看或添加评论,请登录

Jeevan Henry Dsouza的更多文章

  • Stacking Contexts In CSS

    Stacking Contexts In CSS

    Stacking Context : It is a group of elements positioned on the Z-axis. Stacking Contexts can be nested within other…

  • Flexbox

    Flexbox

    FlexBox: as the name suggests it is a flexible box. It makes positioning much easier than normal methods.

  • Git Hub Markdown Cheat Sheet

    Git Hub Markdown Cheat Sheet

    !-- Markdown is a way to style text on the web. We control the display of the document;formatting words as bold or…

  • Positioning in CSS

    Positioning in CSS

    Positioning in CSS: (pre-requisite for this topic is the DOM) The top, right, bottom, and left properties are used to…

  • Selectors in CSS

    Selectors in CSS

    Selectors in CSS The purpose of HTML is to structure the data into different sections on the webpage. Example word…

社区洞察

其他会员也浏览了