#Javascript - why doesn't this conditional evaluate to true?

7 messages · Page 1 of 1 (latest)

brazen vector
#

This looks like JavaScript not Java. Just wanna be sure.

lapis ice
#

yup, didn't see a javascript tag tho

brazen vector
#

There is one, I changed it

lapis ice
#

ah thx

brazen vector
#

Can you give an example of one of the locationFiltered strings?

#

Ok. So you want to see if a certain number is in the string.

JavaScript has the includes method for doing that.

if(someString.includes(someNumber)){
    do something
}
#

So you want to check every column for the number?