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)