Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. $$('input[type=radio]').reduce(([set, array], input) => (set.has(input.name) || (set.add(input.name), array.push(input)), [set, array]), [new Set(), []])[1].forEach(input => input.click())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement