Ad
  • Custom User Avatar

    The conversion should only be done when there is a single value.

    And spaces can only be ignored at both ends.

  • Custom User Avatar

    All cases pass except for the following. From my understanding these should indeed return the number, rather than NaN. (because new lines and spaces are OK). Am I missing something???
    [ '1', ' ', '1' ]
    Value is not what was expected
    [ '1', ' ', '2', ' ', '3' ]