The implementation function is estimated to be like this:
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
After the code is run to test (), call the prepared method E () and pass two parameters.
One is the so-called object ju, and the other is a function written only.
Then pass the two parameters to the E () method. Of course, the E () method is already waiting for parameters.
What will he do when he waits for a parameter that has not been seen for a long time... (to be continued)
Continued introduction:
The E () method mentioned above has seen the parameter ju and a function that has not been seen for a long time.
Of course, E () is used as the transfer execution method for these two parameters. It is called two younger siblings (variable a and variable B)
To reference everything about them.
A = ju
B = function (B)
{
B ();
If (a = "gyyy .")
{
B ("G ");
}
}
Then var c = C (a); let the younger brother (variable c) GET a, that is, the ju length referenced by
Then execute the function passed to the E () method referenced by younger brother B according to the length.
And pass two parameters to the function.
One is a [d], and the other is d.
Then, start executing younger brother B. Now this younger brother B is the function passed to the E () method at the beginning.
The function passed to the E () method accepts a parameter, as shown on the right: function (B ){...}
B In the currently executed function is a [d] passed from the E () method.
That is to say, the error is in the passed a [d]. When B (a) is executed, a is passed at the beginning of test ().
The executed B (a) B () is the [d] passed from the following E.
That is to say, a [d] is actually a method.
I guess ju should be an array containing many methods.
The principle is just like this. It's troublesome, just to get a's access permission.
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]