Problem

Return a new array that is list with value appended at the end.

Examples

  • append([1, 2], 3) -> [1, 2, 3]
  • append([], 7) -> [7]
Compile and test (Ctrl+Enter)