Ad
  • Default User Avatar

    Hi Impulse,

    'return key[i]' returns a string, therefore replace this line with:

    return Number(keys[i]);

    That should do the trick.