Author: Not specified | Language: javascript |
Description: Not specified | Timestamp: 2018-05-10 11:30:39 +0000 |
View raw paste | Reply |
- var list = readHugeList();
- var nextListItem = function() {
- var item = list.pop();
- if (item) {
- // process the list item...
- nextListItem();
- }
- };
View raw paste | Reply |