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.
We have pretty similar solutions.
If the base was limited from 2 thru 36, 7 would be reasonable. As it stands, this should be at least a 6.
The upper bound really should be in the description.
Try to read the error message. Base in this kata can be any vaue higher than 1. Also higher than 36 :) or lower than base-2: unary
i hate this kata
"RangeError: toString() radix argument must be between 2 and 36
at Number.toString ()
at reverseNumber (test.js:6:18)
at doTest (test.js:18:24)
at Array.forEach ()
at Context. (test.js:22:82)
at process.processImmediate (node:internal/timers:471:21)"
although in vs code it works as it should
Well this one sure made me feel dumb
there is no limitation on the base values, so yes.
In the Javascript random BigInt tests, it includes base values > 36. Is this correct?
thanks for such the dope annotations. really struggled with this but I was able to go through it line by line til I understood the logic behind the parsing.
ngl the descriptions here got a laugh out of me. Great job!