2014-11-23 16:15:39 +11:00

8 lines
91 B
JavaScript

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