yes that is what i was trying to explain!
but i don't underttand the solution the say, to check the false
At beginning i was checking thef alse!
arrayseacrh will have the same output for not found and for found at index 0 and that it the point that make confusion
as i will have a false in both cases
and checking the false condition will not help anyway
am i wrong?
yes i am wrong
i am trying useing the false and it works
but there is somehting i don't understand yet!
but i don't underttand the solution the say, to check the false
At beginning i was checking thef alse!
arrayseacrh will have the same output for not found and for found at index 0 and that it the point that make confusion
as i will have a false in both cases
and checking the false condition will not help anyway
am i wrong?
yes i am wrong
i am trying useing the false and it works
but there is somehting i don't understand yet!
Last edited: