Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getObjects()
- .map(function(e) {
- return {
- id: e.id,
- name: e.name
- };
- })
- .filter(function(e) {
- return ids.indexOf(e.id) > -1;
- })
- .forEach(function(e) {...
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement