Two part question about similar problems. I\'ve got 2 different arrays,
array 1:
array1 = [{ name : \"users\", checked :
There is no way to set the value of each object in an array without iterating (looping) through the array as you mentioned in your question.