Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let main_proposals = proposals.reduce((o, el) => (o[JSON.stringify(el)] = true, o), {});
- if(!main_proposals[JSON.stringify(iteration_proposals[i])]) {
- others_props.push(iteration_proposals[i]);
- count_new_elements++;
- }
Advertisement
Add Comment
Please, Sign In to add comment