Guest User

Untitled

a guest
Oct 1st, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let main_proposals = proposals.reduce((o, el) => (o[JSON.stringify(el)] = true, o), {});
  2. if(!main_proposals[JSON.stringify(iteration_proposals[i])]) {
  3.     others_props.push(iteration_proposals[i]);
  4.     count_new_elements++;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment