← All practice pages
JavaScript
JavaScript Operators
Operators combine values: arithmetic for maths, comparison for tests, logical for combining conditions. Knowing how they coerce types is half the battle in JavaScript.
Try it now
Use filter and reduce together to compute the sum of only the even numbers in an array.
Create a free account to run your answer and get ARIA's review.