I have a list of emails in an array:
["[email protected]", "[email protected]", "[email protected]"]
How can I loop through the array and push each email into an object as its own property: The object would look like:
{
email1: "[email protected]",
email2: "[email protected]",
email3: "[email protected]"
}