codewars / codewars.com

Issue tracker for Codewars
https://www.codewars.com
BSD 2-Clause "Simplified" License
2.09k stars 219 forks source link

Internal Server Issue #3226

Closed pranathi-cola closed 4 months ago

pranathi-cola commented 4 months ago

I have been unable to submit my code. It shows that there is an internal server issue.

This is my code:

function countSheeps(sheep) { // TODO let count = 0; for(let i=0; i<sheep.length; ++i) { if(sheep[i]===true) { count++; } } return count; }

The code is supposed to take an array and check if it is true/false and return the number of times true is given as input. My testcases ran perfectly. I passed the "attempt" process but this is being shown if I try to submit my code:

Screenshot 2024-05-23 145045 Screenshot 2024-05-23 145045

I am using google chrome to open the websites.

hobovsky commented 4 months ago

Duplicate of #3209