JScript  

Expected ']'

You made a reference to an array element, but did not include the right bracket. Any expression that refers to an array element must include both opening and closing brackets.

To correct this error

Add the right bracket to the expression that refers to the array element.

See Also

Using Arrays |js56 Array Object