Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getObjects()
  2.   .map(function(e) {
  3.     return {
  4.       id: e.id,
  5.       name: e.name
  6.     };
  7.   })
  8.   .filter(function(e) {
  9.     return ids.indexOf(e.id) > -1;
  10.   })
  11.   .forEach(function(e) {...
  12.   });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement