Skip to content

Instantly share code, notes, and snippets.

@lijinma
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lijinma/9347166 to your computer and use it in GitHub Desktop.
Save lijinma/9347166 to your computer and use it in GitHub Desktop.
var obj1 =
[
{
userid: 'james',
status: 'open',
open_count: 2
},
{
userid: 'james',
status: 'pending',
pending_count: 3
},
{
userid: 'livid',
status: 'open',
close_count: 5
},
...
]
[
{
userid: 'james',
open_count: 2,
pending_count: 3
},
{
userid: 'livid',
open_count: 5,
pending_count: 2
},
...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment