Problem

Return new array with each element doubled.

Examples

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