Read this: https://docs.codewars.com/training/troubleshooting#works-but-no you're using a global var.
I left my solution but don't know why the test has an error I test the code on VScode and works really great even with huge numbers
why doesnt the reduce() callback function doesnt work here?
Loading collection data...
Read this: https://docs.codewars.com/training/troubleshooting#works-but-no you're using a global var.
I left my solution but don't know why the test has an error I test the code on VScode and works really great even with huge numbers
why doesnt the reduce() callback function doesnt work here?