Sign in to open your challenges and get coding.
solution.js
function solution(input) { return input.map(item => item); }
Demo credentials: suchetana / suchetana. This browser-only sign-in is not secure and does not protect your challenges.
const tests = [
{ input: [2, 7], expected: 9 },
{ input: [-3, 5], expected: 2 },
];