Seek and Destroy

Hey, I am having a problem with the seek and destroy algorithm challenge.

I can’t think of a function that reads the second “]” in the array.

Whenever I try returning or printing out the original array it never has the two “[]” in it.

Any help/suggestions?

Thanks!!!

1 Like

Not sure what you mean by this.

If you tried to print an array (in the FCC editor), the output is already wrapped in brackets. You don’t have to put the brackets yourself.