function list(num) {
return "blob" + num;
}
var num = 1;
setInterval(function(){
list(num);
num ++;
}, 500);
http://jsfiddle.net/yfhxgenf/
The above code snippet executes the list function every half a second with an increasing number as input. The number increments by 1 each time the interval is triggered.
As a result, the list function will generate strings like blob1, blob2, blob3, blob4, blob5, and so on, at intervals of half a second.
To see the output in action, you can visit the provided jsfiddle link and check the console.
If you intend to use these generated strings for display purposes or any further processing, additional steps would be required as they are currently not being utilized.
In case you only need the sequence up to 3, you can modify the code to stop the interval once the number reaches 3.
http://jsfiddle.net/yfhxgenf/1/