"Avascript Advanced Programming (Third Edition)"---chapter III Basic Concepts 2

Source: Internet
Author: User

1. Multiplicative operators:

1) * Method of operation:

Infinity * 0 = NaN Infinity * Not 0 = Infinity or-Infinity

2)/method operator:

infinity/infinity = Nan 0/0 = nan n0/0 = Infinity

2. Relational operators:

< > <= >= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

3. Conditional operators, assignment operators, comma operators, and so on.

4. Statement:

If,do-wihle,while,for,for-in,with,break,continue,label.

5. Functions:

1) Understand parameters: any parameters in the function are actually stored in the arguements[] array.

2) without overloading, it will perform all

Summary: JavaScript syntax and C language and similar, so it is relatively simple to learn, but in some comparisons there are some differences.

A function that does not specify a return value returns a special undefined value.

There is no concept of a function signature in ECMAScript because the function parameter is passed as an array containing 0 or more values.

The ECMAScript function cannot be overloaded because there are no attributes for function signatures.

"Avascript Advanced Programming (Third Edition)"---chapter III Basic Concepts 2

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.