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 agree. It would make sense to be that, but javascript numbers are wierd sometimes. MDN talks about that a little here https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript#Numbers.
This comment is hidden because it contains spoiler information about the solution
Can you please give a little more info? Why can't the kata be solved with 0.28000000000000025? I just tried the JS version out and everything looks good.
P.S. You aren't going to return an array. You will return a string. For example:
It looks like .padEnd() was added to javascript with ECMAScript 2017. This kata uses node version 6.11.0 which was released before ECMAScript 2017, so that method doesn't exist in node 6.11.0. You'll have to solve this kata without .padEnd().
Here are some docs about .padEnd() https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEnd
If you would like to see the solution, you can go to the 'Solutions' tab and click on 'Unlock Solutions'. You will lose the ability to earn points for this kata, but you can use the solutions to understand how others solve these kinds of problems.
I have added some random tests.
Honestly, I don't know how I would write random tests for this. If anyone wants to do this, I would love to merge it in.
Thanks for the suggestion. I will work on the description. There are parentheses, the variable may show up more than once, the variable can be on either side of the equals sign or on both sides.
It looks like you aren't accounting for one number. For example
expanded_form(2)
should return'2'
.I was unable to reproduce this error. Can you share your code, so I can try to reproduce it? Remember to mark your response as a spoiler.
Thank you very much for this!!!! I have updated the tests with your code.
This issue should be fixed now
This issue should be fixed now
This issue should be fixed now
I've never worked with Java, so would someone else like to look into this?
Loading more items...