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.
You're trying to use a string method with something that's not a string.
This comment is hidden because it contains spoiler information about the solution
I love JS and TS, however I really do wish they would create a new language already that doesn't have a super goofy implementation. Preferably once they figure out WebAssembly, that is.
JS is not C++.
Ah, I see. Weird. I'll be double-checking my usage of
Object.freeze
in future, then.This comment is hidden because it contains spoiler information about the solution
Nice solution! The only thing I wonder about is why
pairs
is being created withlet
?I know that in JS an object isn't really "constant", but declaring
const
would have prevented the individual keys from being modified.A little hacky... ;)
Hmm. What's with the 1st if? lol
The title is a little misleading, A Rule of Divisibility by 7. When you really never test if the number is divisible by 7. Other than that fun kata, good challenge. Thanks!
This comment is hidden because it contains spoiler information about the solution
welcome)
Great Challenge. Thank you!
This is beautiful in its absurdity.
for an 8kyu challenge, its not very clear what is required. There should be some sample tests and at least a basic function call for what is expected.
Loading more items...