Sorry, just noticed that the full logs were not pasted correctly
Here they are again
the following appears when I have ["2"] in the array
[Log] check box[0] =
[Log] [
]
[Log] check box[1] =
[Log] []
when i have ["4"] in the array
[Log] check box[0] =
[Log] [
]
[Log] check box[1] =
[Log] []
[Log] check box[2] =
[Log] []
[Log] check box[3] =
[Log] []
they both look and work fine...but when I have more than one number in the array, for example ["2","4"}
nothing appears in the console and none of the checkboxes are checked