jeudi 26 mai 2016

IF statements with javascript arrays [duplicate]

This question already has an answer here:

Is there a way I could test to see if there is a individual item in a JavaScript array? For example if I have an array with Car, Blue, and Purple values in it and I wanted to test if Car was in that array, and run code it that was true, how would I do that?

Aucun commentaire:

Enregistrer un commentaire