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.
my eyes 0.0
I shouldn't have to do that for the kata to work
what?
Click on the button that says "Node", and change the version to something
this is for Javascript
the code is still throwing this error:
STDERR
/runner/node_modules/source-map-support/source-map-support.js:379
}).join('');
^
TypeError: Cannot read property 'join' of undefined
it looks like it was an issue 4 years ago and was never fixed.
I'm getting the same issue.
thank you for asking this. I was getting the same error and it was also going over my head for a while too!
Wait a minute...this is wholesome.
nice
I wouldn't worry about it, the discussion page is at least partly for asking questions. I don't think it's possible to delete a comment once someone has replied to it, besides now that this chain is at the top of the discussion page, someone else with the same question won't have to go searching for an answer.
also I thought I posted this in questions, Sorry about that!!
Thank you so much BobtheLantern! I was able to solve it with this advice.
I saw someone else had asked a similar question so I'm trying to delete my question to reduce redundancy but I can't figure out how to do it. (I'm new to this site)
Your solution will recurse up to 100000 times with some tests in the test suite. This is too much for codewars' node.js stack size. I'm not sure what it is in bytes, but I set up a recursive function that increments a single value and then calls itself and then prints that value upon an exception. With this function, it seems codewars' stack size will allow 15630 recursive calls (at least for my test function) before throwing an exception. I think you'll have to find a non-recursive solution, or at least a solution that doesn't recurse so deeply.
Loading more items...