2014-11-03 17:52:15 +11:00

7 lines
90 B
JavaScript

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