161
rated 0 times
[
163]
[
2]
/ answers: 1 / hits: 22508
/ 6 Years ago, wed, january 31, 2018, 12:00:00
I have a two dimensional array arr[cols][rows]
.
I want to know if the cols contains a string hello.
How can I check that using .includes(hello)
method.
Please note that I am trying to check this inside a loop with counter i
. So I have to do something like arr[i][0].includes(hello);
More From » arrays