Problem

Return new array each element * 2.

Examples

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