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 was trying to do something similar with the fill method, and eventually gave up.
感谢新思路!
This is soo good, i am very very impressed
great
How does it work?
Solved in very short way intresting!!
Nice this one is shorter than my solution, grate job!
i feel like doing this in one line isn't an 8 kyu
Please use spoiler flag next time.
i have started in the same way, got lost in the middle.
Thought my logic of approach was wrong, glad to find the way.
Am i right if i say the limit/int gives you the number of multiples that will appear in the array?
If you don't fill, the array is considered empty for .map, so .map returns an empty array. You can fill it anything, even undefined, but you have to do it or otherwise map doesn't do anything.
If the integersList has only one item, this piece of code "integersList.join().split(digitsList[i]).length -1" does not give zero?
i think fill(1) is not necessary, because x is not used in map()
This is great. I was working on the same thing and was having an issue working out the map method. Brilliant!
I run into the same problem in js, too :<
Loading more items...