Skip to content

Instantly share code, notes, and snippets.

@AyaMorisawa
Created February 14, 2015 06:10
Show Gist options
  • Save AyaMorisawa/83cd89ec4c64885e0270 to your computer and use it in GitHub Desktop.
Save AyaMorisawa/83cd89ec4c64885e0270 to your computer and use it in GitHub Desktop.
usersA = [ id: 4872, name: 'alice' ]
usersB = [ id: 2849, name: 'bob' ]
users = (usersA ++ usersB) |> sort-by (.id)
console.log users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment