JavaScript Array Methods: Example of Setting New Values