What JS (JavaScript)!!!!

Source: Internet
Author: User
Tags es6 class

JavaScript is an object-oriented, dynamic language that contains types, operators, standard built-in (built-in) objects, and methods. Its syntax comes from Java and C, so many of the syntax features of the two languages apply to JavaScript as well. One of the main differences to note is that JavaScript does not support classes, and the concept of classes is continued in JavaScript through object prototype (the contents of the ES6 class are referenced here classes). Another major difference is that functions in JavaScript are also objects, and JavaScript allows functions to be passed like other objects while containing executable code.
Start with "type", which is an integral part of any programming language. JavaScript programs can modify values (value), and these values have their own type. The types in JavaScript include:
Number (numeric)
String (String)
Boolean (Boolean)
function (Functions)
Object (Objects)
Symbol (Sixth edition added)
... Oh, and there seems to be some ... Strange Undefined (undefined) type and null (empty) type. There are also array (array) types, as well as date (date) and REGEXP (regular expressions), which are used to represent dates and regular expressions, which are special objects for each of the three types. In strict sense, function is also a special kind of object. So exactly, the types in JavaScript should include these:
Number (numeric)
String (String)
Boolean (Boolean)
Symbol (Sixth edition added)
Object (Objects)
function (Functions)
Array (arrays)
Date (day)
REGEXP (Regular expression)
Null (empty)
Undefined (not defined)
Related address: https://ke.qq.com/course/256212?flowToken=1001258

What JS (JavaScript)!!!!

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.