#Iterators Mini Lab
Write the following functions
Similar to the Google Products lab, we'll be using a real data feed from a sub reddit /r/javascript
You can view the live version here: http://www.reddit.com/r/javascript.json
Write 4 styles of iterators
forEach
-console.log
all titlesmap
- Return an array of permalinks, that contain full http:// path to redditfilter
- Filter the posts that contain theselftext
keyreduce
- Use reduce to count all thescore
values across posts