|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,758,776 members, 6,557,924 topics. Date: Wednesday, 27 October 2021 at 01:12 AM
|Debug This Code At Your Spare Time. by Maskyy(m): 4:13am On Jan 11, 2020|
someone should check out this my js code. ERROR: instead of 3 iteration output, it output 9 iterations. just bordering me since.
|Re: Debug This Code At Your Spare Time. by gbolly1151(m): 8:29am On Jan 11, 2020|
I suggest to save it again and run
|Re: Debug This Code At Your Spare Time. by peterincredible: 9:19am On Jan 11, 2020|
array.filter() must return a boolean you are not returning anything guy put your return in the for() state ment where your checked if return element.id === value.id ? whatever : whatever
i hope it works cause no light for me to test wetin i talk but i just observe u didnt return anything
|Re: Debug This Code At Your Spare Time. by Maskyy(m): 9:00am On Jan 12, 2020|
it as being fixed. Thanks to your responds.
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 21