js in this / Error

A, this:

  ( 1 ) pre-compiler: the this ----> window

  ( 2 ) Who to call: the this ----> Who

  ( 3 ) Change this point: Call / Apply

  ( 4 ) Global: the this ----> Widow

Two, error:

  Error.name six information corresponding to the value:

  (1) EvalError; // eval ( ) is used with inconsistent definitions

  (2) RangeError; // value bounds

  (3) ReferenceError; // illegal or not reference values identified

  (4) SyntaxError; // parsing errors

  (5) TypeError; // wrong type

  (6) URIError; // URI improper use handler

Guess you like

Origin www.cnblogs.com/Tractors/p/11079278.html