Ad
  • Custom User Avatar

    Pretty sure he isn't asking for a technical solution Baronf, he's pointing out the behaviour is undefined based on the description. You pointing out you can return an alternate value using an if-statement is not useful when the expected value for the empty array is not defined in the specification. Should it be NaN? 0? null/None?

  • Custom User Avatar

    I guess it should be replaced with "parenthesis".

  • Default User Avatar

    It means brackets, more specifically these ones ==> ()

  • Custom User Avatar

    "Parenthese" isn't a word.