findOddNumbers.js
// Write a function that would return an array of all the odd numbers between 1 to 50. (ex. [1,3,5, .... , 47,49])
Write a function that would return an array of all the odd numbers between 1 to 50. (ex.
Write a function that would return an array of all the odd numbers between 1 to 50 . ( ex .
function oddNumbers() {
    var arr = [];
    for(var i = 1; i <= 50; i++ ) {
        if(i % 2 !== 0) {
            arr.push(i);
        }
    }
    return arr; 
}
function oddNumbers ( ) { var arr = [ ] ; for ( var i = 1 ; i <= 50 ; i ++ ) { if ( i % 2 !== 0 ) { arr . push ( i ) ; } } return arr ; }
Write a function that would return an array of all the odd numbers between 1 to 50.
Write a function that would return an array of all the odd numbers between 1 to 50 .