Code Challenges

Practice JavaScript and Python with a syntax-highlighted editor, curated challenges, and a secure in-browser sandbox runner.

Filter Even Numbers

Return only even numbers from an array.

Array.prototype.filter
script.js
Ready
Tests

Press + in the editor to run tests, or click Run Tests.