Learning about arrays

Source: Internet
Author: User

Recently learned the contents of the array is only I miss the days of study, only good to see the courseware

JavaScript arrays are untyped: The elements of an array can be of any type. For example: string, numeric value, Boolean value, and so on. And each of the 1 elements in the array can be of different data types.

JavaScript arrays are dynamic: As needed, you can dynamically add, delete, check, and change elements in an array.

An important element of an array is the index of the array, with each of the 1 elements in the array having 1 corresponding indexes in the array, also called the subscript of the array. The index value starts with the number 0. We can add, view, modify, and so on to the array by index value.

There is also: every 1 array has 1 length property, which represents the size of the array. The length of the array refers to the number of elements contained within the array.

Learning about arrays

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.