Created
June 22, 2016 07:39
-
-
Save sherpc/960cf47c14fc426e047205f284855234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xs = _.chain(results) | |
.sortBy(function (x) { return x.pos; }) | |
.groupBy("level") | |
.map(function (value, key) { return { depth: key, hits: value }; }) | |
.value(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment