Day 12 & 13 of 50day JS challenge (Day 28 bug)
Asked by Delano Lourenco about 2 years ago
My output is same as the expected output, but the testcase is still failing. Whereas for Day 28 the testcase itself is wrong.
Not sure about day 28 havent reached there yet, but i have completed day 12 and day 13. One issue I faced as well is that in day 13 i was not returning anything and in day 12 even though it seemed that my output was same, there were leading and trailing spaces which caused it to fail. Try using .trim() fn to remove leading and trailing spaces. Hope it works.