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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hello, I usualy test my code outside codewars platform. I use VSCode, and to run time performance tests I use console.time and console.timeEnd like you, but on VSCode. Here in CW, the only way to know the exact your code takes is when you pass the test, otherwise they only inform you that your code takes more than 12 seconds to run all the tests for the current kata.
Relative to this kata, I've seen you already got corrected on your code.
This comment is hidden because it contains spoiler information about the solution
Test does not work at all as well as attempt!
The system message is:
"This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."
Retry does not help.
Please correct.
The Test for JavaScript is error !
Please correct the error.
Super strange, I tried it now and it works.
Thanks for your reply eitherway.
Your code worked for me. There are no sample tests tho, you have to write your own or click Attempt directly.
This comment is hidden because it contains spoiler information about the solution
Javascript tests are not working properly for my code.
My solution works well but I keep getting errors like "split is not a function".
My function returns an array with the matching words in the order they appear initially.
Anybody knows why the tests don't work?
I'll comment this thread with my code.
This comment is hidden because it contains spoiler information about the solution