Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm trying to post a simple comment; if the comment contains -1, then it errors out, suggesting I'm defending or replying to a downvote. This is to the OP, not a reply to my own Q or A.
['1'].indexOf() == -1
I've made this check a bit less greedy; your comment should go through now.