vendredi 28 octobre 2016

Bad operand types for binary operator ||

This is my line of code

if (tweet.indexOf("RT:" || "Rt:" || "rt:" || "rT:") > 0)

I am checking to see if the tweet the user inputs has any variations of rt:

Aucun commentaire:

Enregistrer un commentaire