how can i select odd numbers in javascript for loop code example Example: log odd numbers js for(var n = 0; n <= 10; n+=2) console.log(n)