Remove the value true at the end of the array by coding .pop().
true
.pop()
Make sure to type .pop().