Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
var questions = [{
question: "What's the currency of the USA?",
choices: ["US dollar","Cats", "Ruble", "Horse", "Gold"],
corAnswer: 0,
}, {
question: "Where was the American Declaration of Independence signed?",
choices: ["Philadelphia","California", "At the bottom", "Frankie pub", "China"],
corAnswer: 0,
}];
function looper(arr) {
for (var i = 0; i < arr.length; i++) {
questions[i].userAnswer = null;
}
}
looper(questions);
I used the code above....which should be correct, yet your test considers it wrong....why?