js code snippet parses

  In one function, as a parameter Test (probably function) function, the function has the following code:

    test && test.call(this, e);

  Its meaning is: If this test parameter in this function, we call test (probably a function), to change the code behind this point, make this point even.

Guess you like

Origin www.cnblogs.com/hexuhua/p/11230781.html