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.
but I know the basics of the language very well !!!!! I'm the author of the solution
What on earth is "non-character number"? O_o
It is your mistake - writing code without having basic knowledge about the language, such as the fact that the maximum number you can represent accurately in JS is
2**53 - 1
. And oh how much I hope you didn't upvote this solution because its author found a workaround for his ignorance...Yeah, I think it's a problem with javascript as a whole and I found this as a simplest way to handle this issue
okay. so a couple of problems with this code, although it tests good. Your code doesnt return null when there is a non-character number, it doesnt take into account if the last index of the array is 9 when it is greater than 17 in length. this is the same problem i have been having with this kata. but overall it is good, i think it is a problem with javascript as a whole. I spent hours trying to figure this issue out, and without going about it another way without parsing or using Number() i dunno. But I did use your code as reference. Im just gonna move on cuz this kata is killing me.