Print all odd numbers from 0 to 100000
JavaScript, 38 bytes

Yet another way to do this, shortest of all.

This supposedly prints each number on a new line using \n. Now as the data is being written to an HTML document, \n is not of any use and the numbers appear to be separated by space only.



for(i=1;i&lt;1e5;i+=2)document.writeln(i)