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.
I like how Best Practices and Clever buttons are useless cause here we see ppl think using eval (which is banned/discouraged everywhere) is kinda cool.
Should be:
Given these two matches results:
What's wrong there are the first match result and the total scored goals.
Hello, looks like a misprint in kata description:
["TEAM C", "6", "5"]
instead of
["TEAM C", "6", "4"], or
TEAM C won two matches (1x0 and 3x2). Receives 6 points and a total of 4 scored goals.
instead of
TEAM C won two matches (1x0 and 3x2). Receives 6 points and a total of 5 scored goals.
you & me both pal haha
Nice way to solve
I would say that's a bit messy syntax. Function should be declared at least with 'const' keyword.
It's not mentioned how this should be handled. Sort by name or appearance in initial list?
Nice kata, thank you Calvin
Then the MF** description should rule out the k always being 1, because that is legal with this type of explanation.
Isn't the point of codewars to improve your coding skills? Why would someone want to cheat?
@Toisen:
String.replaceAll
is currently not a standard Javascript function and will return an error in Node.js (see https://node.green/#ESNEXT-candidate--stage-3---String-prototype-replaceAll).It may have been implemented in Chrome and will work in your browser console, but nowhere else.
It's a non-standard function that is available in Chrome and not on CW.
read the error message
TypeError: str.replaceAll is not a function
What is
replaceAll()
?YOU DIRTY BOI
Loading more items...