• ###### Jkhall81commented on "Get number from string" kata

What in the sweet name of jesus is deduplication?!?!

• ###### ultroxcommented on "Parse float" kata

There is no Nothing in F#, None or Option would make more sense. Quite vague.

• ###### cwpscommented on "Range function" kata

expected input from description:

[..] up to 3 parameters - start value, step and stop value.

• ###### Ganijoncommented on "Range function" kata

Expected [2,5,8,11,14]: [2] should equal [2, 5, 8, 11, 14]

• ###### Chrono79commented on "String repeat" kata

Yes, and that's ok. In your code you did this:

``````function repeatStr(s, n) {
...
}

repeatStr(3, "*")
``````

And had to use n as a string and s as a number to make sense of that change, because the tests called your function with the first argument being a number and the second one a string.

## describe("Tests", function() { it ("Basic tests", function() { assert.strictEqual(repeatStr(3, ""), "**"); assert.strictEqual(repeatStr(5, "#"), "#####"); assert.strictEqual(repeatStr(2, "ha "), "ha ha "); }); });

repeatStr(3, "*") ->>>> repeatStr (n, s)
in here n equals 3, s equal *

• ###### Chrono79commented on "String repeat" kata

There is no problem, `n` is the number of repetitions and `s` is the string. In your solution you swaped them, but used `s` as a number and `n` as a string, there was no need for that.

• ###### SunsRisecommented on "String repeat" kata

This comment is hidden because it contains spoiler information about the solution

• ###### DeCaToucreated a question for "Is it a palindrome?" kata

This comment is hidden because it contains spoiler information about the solution

• ###### ejini战神resolved a question on "String repeat" kata

OP solved it, closing

• ###### Chrono79commented on "String repeat" kata

Your code is failing the test with 0 repetitions.

• ###### Yakuzikcreated a question for "String repeat" kata

My solution passes the test but when I press the "Attempt" button, I get the following:
Test Results: green
SolutionTest
• 0 Repeat
The red border appears, but nothing else happens... Any ideas?

• ###### Jkhall81commented on "Factorial" kata

javaScript 4 kyu... I'm a big deal now? recursive javascript ninja. 🥷