I\'m trying to add a property to each object in the array:
var capitals = [{ country: \"What\'s the capital of Ecuador?\", choices: [\"Quito\", \"Caracas
If you do not have to support legacy browsers, then you could use Array.prototype.map