How to use objects and arrays in Javascript

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.