What is the difference between Nodejs and web front-end JavaScript

Source: Internet
Author: User

Web front-end JavaScript consists of:

ECMAScript, (is the JS standard, JS is its implementation and extension, it describes the language of the syntax and basic objects, such as: syntax, operators, statements, inheritance mechanisms, data structures and some built-in objects)

Dom (Document Object Model), describes the method and interface for processing Web page content, parses the entire document file into a DOM tree for users to use JS to process the document.

A BOM (Browser object model) that describes the methods and interfaces (object structures) that can interact with the browser window, such as the Window object, history, location, navigator, and so on.

Nodejs In addition to the language base ECMAScript, there are OS (operating system), file System (FileSystem), net (network system), database, etc., the function modules required for server processing, such as Java is the service-side language in addition to the language itself, It also has the ability to process files, network communications, and so on. Front-end JavaScript runs in a browser environment, so it also includes the object model that is specific to both the DOM and the BOM in the browser environment.

Refer to: 1190000006154835

What is the difference between Nodejs and web front-end JavaScript

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.