Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Reznov, just so you know, there are no sample tests in javascript, you have to write your own or click Attempt directly. I've passed it in javascript with no problem.
espanol
Tenga en cuenta que casi diez mil programadores han resuelto este kata (con JS) sin problemas. Las probabilidades son abrumadoramente a favor de que su código contenga el problema, no codewars. Es un error muy común asumir de inmediato que su IDE es una autoridad sobre las pruebas en este sitio.