I am making a kind of Trivial Pursuit game. I have the thousands of questions and answers; see example below:
var trivialPursuitCards = [
{
question: "What nationality was Chopin?",
answer: ["American", "Polish", "German", "Czech"],
difficulty: 2
},
{
question: "Who cut Van Gogh's ear?",
answer: ["His sister", "His brother", "Himself", "He was born that way"],
difficulty: 2
}
];
Now I just need to add one more property to each card namely: rightAnswer: undefined.
What is the best way to get this done for all the cards?