JavaScript Advanced Program Programming (IV)

Source: Internet
Author: User
Tags bitwise

2017.7.12 Beijing Volts First day

Summary of the day:

1. The online server often displays the. woff File loss resolution (IIS server)

Add a MIME type to add three articles:

file name extension MIME type 

. svg Image/svg+xml
. Woff Application/x-font-woff
. WOFF2 Application/x-font-woff

2. Time format iOS system cannot parse display Nan, and Android system parsing normally appears on the mobile side

Safari in the iphone can't explain the time format of Yyyy-mm-dd HH:mm:ss or Yyyy/mm/dd HH:mm:ss, and Google Firefox and other browsers have extended this format.

The format supported by Safari in the iphone is yyyy,mm, Dd,hh,mm,ss,

Not much nonsense to continue reading notes, and the previous chapters are too detailed so that later chapters only record what I think the focus:

Operator

1. Unary operator--s,s--,++s,s++, the main difference is that the calculation time order, the symbol in front of course first calculate, but also to see the upper and lower operating environment, and the individual +,-operator will be like number () function first conversion.

2. Bitwise operator all values in the ECMA are stored in 64-bit format But the operator converts the results of the 64-bit transposition of the 32-bit operation to the Cheng 64 bits first. The so-called binary refers to the power of 2, see P39, bitwise non, bitwise AND, bitwise OR, bitwise XOR, left SHIFT, right shift and signed move, here is not much to do introduction , for the moment I have not been used to the relevant operation, but have seen several times have a general impression

3. Boolean operator logic not! Conversion to other types of rules before the same decision will be done for the data such as 0, 1 if null or undefined logic will return true, and double-talk number!! The effect is the same as the Boolean () effect to simulate a transformation function that returns TRUE or FALSE,

JavaScript Advanced Program Programming (IV)

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.