First, you must have the following knowledge about the object and array classes,
Microsoft Ajax library does not provide many extensions to object classes,
There are only a few simple methods, that is, GetType and gettypename,
I have not introduced it here. I just briefly talked about the usage of the object class,
However, for the array class,
Microsoft Ajax library has made a lot of extensions,
Therefore, we also provide some detailed introductions here.
For array class extension,
Microsoft Ajax library's extension is mainly reflected in static methods,
That is, we can see the call of the method array. methodname,
Microsoft Ajax library is generally used for extension.
Or directly give some JavascriptCodeEasy to understand,
The above JavaScript code is described in detail,
So it seems very simple,
Of course, you must judge whether the result is correct or not,
However, according to the above Code and annotations, I think everyone can guess the result.
First, object operations
Then there is an array operation.
2010-1-28