How to separate odd and even numbers of an array | JavaScript Array Problem: 4

Published --