Home › Forums › JavaScript › Returning every third odd number within a user specified range › Re: Returning every third odd number within a user specified range
April 9, 2013 at 2:21 am
#131091
Participant
you dont know how big the range will be so storing the array before that its wrong , have a look at this code
http://codepen.io/anon/pen/Gtflb also checks if the input is a number larger than zero