JavaScript query LHS and RHS find the query

*********************my answer************************** *****
LHS query:

  1. foo(2)2 is assigned to a.
  2. var b = aIt is assigned to the value of a b.
  3. var c = foo(2)Is the foo (2) The operating results assigned to c.

RHS query:

  1. var b = aIt is to find and assign a value of b.
  2. return a + bIt is to find the value of a.
  3. return a + bIt is to find the value of b.
  4. foo(2)It is to find foo () values ​​and run.

Answers *************************** ********************* ****
the LHS query
c = ..;, a = 2 ( variable implicitly assigned), B = ..
the RHS query:
foo (2 .., = A;, A .., B ..

My standard answer is consistent and answers

Guess you like

Origin www.cnblogs.com/wljqds/p/11270114.html