how define even or odd number from two inpus in javascript code example
Example: javascript find all odd between two numbers
function oddNumbers(l, r) {
let arr = [];
while (l <= r) {
arr.push(l);
l += 1;
};
return arr.filter(n => n % 2);
}