An infinite collection using generators:

			var naturalNums = function* (){
				let i = 0;
				while(true){
					yield i++;
				}
			}

			for(let i of naturalNums()){
				if(i > 10) break;
				document.write(i+"<br/>");
			}