Skip to content

Instantly share code, notes, and snippets.

@stack72
Created February 13, 2014 20:47
Show Gist options
  • Save stack72/8983503 to your computer and use it in GitHub Desktop.
Save stack72/8983503 to your computer and use it in GitHub Desktop.
statuses = []
issues.forEach (issue) ->
statuses = (x for x in issue.status)
running this I get 7 but there are dupes in the list.
I want to get something like
Status1: 4
Status2: 1
Status3: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment