The JavaScript authoritative guide reading notes (i)

Source: Internet
Author: User

Date 2015-11-28

Move your previous reading notes before I lose them.

Time past long, look back at the understanding are different.

Here's a look at the differences with Java:

JS is a kind of loose type language;
JS does not distinguish between shaping numeric values and floating-point values, all numbers are represented by 64-bit floating-point type;
No char;
Special values: Infinity, NaN (not equal to yourself), Number.MAX_VALUE, Number.POSITIVE_INFINITY,
Conversions and comparisons between various types: string-0 variable number, parseint function ...
The difference between = = and = = =;
JS has no block-level scope, so all variable declarations are best placed at the beginning of the function;
JS Global object, call object;
JS's execution environment;
Some operators: In, instanceof, | | and && return value, delete to delete the object's properties, array elements or variables and the return value in various cases;
Break, continue and so on with the label;
The characteristics of the array and some very convenient operation;
Generic object properties and methods;
object's property name, Case keyword, and so on can not be constants;

The JavaScript authoritative guide reading notes (i)

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.