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.
Genius!
Do we tho? Why would we?
I know on this site we tend toward very minimal variable names, but ^this kind of descriptive naming is actually best practice
I like your take on this solution
Is this bad practice?
This is beautiful btw.
This comment is hidden because it contains spoiler information about the solution
nice solution.
This comment is hidden because it contains spoiler information about the solution
Just out of curiosity, why do you pass in
Math
as the value ofthis
toapply
?I could see something going wrong here, but the timestamp's not clearly specified.
This could potentially lead to two invalid cases:
(\w+)
is greedy)@schm0 Not sure what you mean - this is native JS, not Underscore.
This wouldn't work if it was passed an empty array, because an empty array isn't
null
.The
key
variable needs to be declared, otherwise it'll throw an error in strict mode or be added as a property to the global object (window
in the browser,global
for Node).