Problem

Return new array with val at front.

Examples

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