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.
Click Run to test your code