Ad
  • Default User Avatar

    but I know the basics of the language very well !!!!! I'm the author of the solution

  • Custom User Avatar

    non-character number

    What on earth is "non-character number"? O_o

    i think it is a problem with javascript as a whole

    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...

  • Default User Avatar

    Yeah, I think it's a problem with javascript as a whole and I found this as a simplest way to handle this issue

  • Custom User Avatar

    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.