Free $0
- Core practice
- Verified challenges
- Limited AI help
Real-world JavaScript, TypeScript, React, Node.js, and DSA challenges with verified tests and contextual AI feedback.
Double every value without changing the original array.
function doubleValues(values) {
return values.map((value) => value * 2);
}
console.log(
doubleValues([2, 4, 6])
);
Ready to run solution.js
Interactive preview · Example code and feedback
Upgrade when you want deeper AI guidance.