Ad
  • Default User Avatar

    Yes, maybe there is lack of definition..
    I thought the expectation was the very last element, even deeply...
    So..
    last([123,40],[125,40],[125,39],[123,39]) // would output 39
    last('test1','test2') // would output '2'
    Passed the tests, but indead, I can't think of a real world application...