Created
July 7, 2016 21:08
-
-
Save reganstarr/f0856497de290b551b1a88b97a8587d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var emailArray = ['email1@example.com', 'email2@example.com', 'email3@example.com']; | |
var array = []; | |
emailArray.forEach(function(email){ | |
array.push({"email": email}); | |
}); | |
output = {output: JSON.stringify(array)}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment