0

I have 1 more issue with the code

Whenever i try to searchbyname ot gove only the first added contact as output https://code.sololearn.com/cIBH8lV49bg5/?ref=app

12th Jan 2019, 2:46 PM
shikha Gupta
shikha Gupta - avatar
1 Odpowiedź
+ 1
Because you are outputting names[value]. I think you should be outputting names[i].
12th Jan 2019, 4:38 PM
Zeke Williams
Zeke Williams - avatar