nums.forEach(function (v) { if (v % 5 === 0) { fives.push(v); } });