mediumJS ES6+#104

Elementos pares (even-count elements)

Prompt

Given an array, return a new array with only elements that appear an even number of times. Preserve the original order based on first occurrence. Include each qualifying element once.

Hints

Solution

Your Code

10 min

Tests

Click Run to test your code