The implementation function estimate looks like this:
[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]
After the code runs to test(), you need to call the already written method E() and pass 2 parameters
One is the so-called ju of the object, the other is a function that is only written
Then pass these two parameters to the E() method. Of course, the E() method is already waiting for the parameters
What will he do when he waits for the parameters he hasn't seen for a long time... (To be continued)
Continued introduction:
Last time I talked about the E() method, I saw the parameter ju and a function that I haven't seen for a long time.
Of course, E() is called two younger brothers as the method of passing and executing these two parameters (variables a, b)
Come and quote everything from them, at this time
a = ju
b = function(b)
{
b(a);
if(a == "gyyy.")
{
b("G");
}
}
Then var c = C(a); Let me (variable c) get a , that is, the ju length referenced by a
Then execute the function referred to by my brother b that passes to the E() method according to this length
And pass 2 parameters to that function
One is a[d], the other is d
Then, I started executing my younger brother b. Now this younger brother b is the function that was passed to the E() method at the beginning.
And the function passed to the E() method accepts a parameter as shown on the right: function(b) { ... }
The b in the function executed now is passed from the E() method a[d]
In other words: the point where you make a error is on the passed a[d]. When executing b(a), a is passed by test() at the beginning.
The b(a) executed is a[d] passed from the following E
In other words, a[d] is actually a method
I guess ju should be an array containing many methods
The principle is just like this, it's a very troublesome thing, just to get access to a
[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]