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 just want to say that I really appreciated this kata, as it gave me an opportunity to learn a JavaScript feature that I wasn't already familiar with. I use stream functions all the time in my Node development work, but I have never really thought about how to generate them before. Very satisfying to put it together.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
"rather straight forward"
I was more asking for the thought process which was interesting me
Same thing
Where does the %3600/60 come from? Isn't /60%60 rather straight forward?
what the magic
Whenever I run into this problem, I just add a log statement in the function that will show me what the value is from the test. For JavaScript, this was:
log.debug(phoneNumber);
Attempt to pass again and you will see the test value along with the pass/fail response.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution