标签: javascript arrays object
var firstQuestion = { question: "What does the heaviest cat in the world weigh?", answers: ["50lb", "20lb", "5lb", "70lb"], correctAnswer: this.answers[0] }
我无法得到正确的答案。如果我将它拉出对象,它可以工作,但是在对象内部,它根本不会引用数组。这是什么交易?