JS Basics – Arrays

Tutorials

  • Section 11, videos 103 – 113
  • Tutorial Notes
  • Exercise files to publish on your server, HTML/JS pairs
    • todo-part1.js
    • arr-challenge.js
    • todo-part2.js
    • arr-prob-set.js includes functions printReverse(), isUniform(), sumArray(), and max().

Problem Set

  • Problem set to publish on your server, HTML/JS pair with the following functions
    • reverseArray()
    • rangeArray()
    • longestUser()
    • removeStr()

Blog Questions

Use the code insert tool and provide examples to answer these two questions. Use JS comment syntax to describe your example.

  • With the array methods pop() / push() and shift() / unshift(), explain the difference between the returned value of the method and the resulting value of the array?
  • Link to an example of a site that is using an array of data that is presented on page. Describe what is in value of the array.

Leave a comment

Your email address will not be published. Required fields are marked *