[JavaScript] JS one-liner (68 ms, beats 99.69% submissions)
JS one-liner with a single regular expression and a set\n\n/**\n * @param {string[]} emails\n * @return {number}\n */\nvar numUniqueEmails = function(emails) {\
JS one-liner with a single regular expression and a set\n```\n/**\n * @param {string[]} emails\n * @return {number}\n */\nvar numUniqueEmails = function(emails) {\n    return emails.reduce((s, e) => s.add(e.replace(/(\\+.*(?=@)|(\\.(?=.*@)))/g, \'\')), new Set()).size;\n};\n```
['JavaScript']