• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

6.1. arrays.js


Practical use

Array manipulation


Version requirement

JavaScript 1.2


Functions

avg(), high(), low(), jsGrep(), truncate(), shrink(), integrate(), reorganize()

These functions take your arrays, manipulate them, and return other useful information, including other arrays. Figure 6.1 shows arrays.html. Nothing exciting to look at, but you can see that each function is demonstrated.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint