Skip to main content
6 events
when toggle format what by license comment
May 16, 2017 at 20:12 comment added Jonah I edited the post to include sample code (untested).
May 16, 2017 at 20:11 history edited Jonah CC BY-SA 3.0
added 462 characters in body
May 16, 2017 at 19:54 comment added Ari Lotter I understand iterating Object.keys, but don't understand how I would use reduce. gist.github.com/arilotter/ff5cdb93c992ac50214742e2a764e4a5
May 16, 2017 at 16:53 comment added Jonah you would reduce on the keys of opts, which you can get with Object.keys
May 16, 2017 at 11:43 comment added Ari Lotter Since opts is an object, don't have I need to use for..in to iterate?
May 16, 2017 at 6:16 history answered Jonah CC BY-SA 3.0