Duration: 16 minutes
Summary: In this video we start our discussion of arrays. An array is a data structure that holds elements of similar types. For example, I can have an array of names, an array of grades, and an array of employees. JavaScript has the Array object with very powerful functions to create, manipulate, and sort arrays. To start, we see two different ways of creating arrays: (1) Using the Array() constructor, and (2) using the initialization list with square brackets ([]). The toString method is handy because it prints the array element in a comma separated list. Finally, we saw how we can create multi-dimensional arrays (arrays of arrays). Then, we saw how to print those arrays on the screen using the toString() function.
Methodology of the development of example: Good coding standard and simplified design.
Technology Used: JavaScript – Core language Concepts
Keywords: CSS, JavaScript, HTML, function, var, script, document, writeln, Array, toString.












See the prices for this post in Mr.Bool Credits System below: