Email regex accepts invalid addresses

Code reviewMedium20 min

Your task

Review this JavaScript signup validation handler.