Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $$('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