Perbedaan JS antara dua angka
var difference = function (a, b) { return Math.abs(a - b); }
Jolly Jackal
var difference = function (a, b) { return Math.abs(a - b); }
function oddNumbers(l, r) {
let arr = [];
while (l <= r) {
arr.push(l);
l += 1;
};
return arr.filter(n => n % 2);
}