我试图访问Angular 6中名为date的JSON对象的属性。我给它赋值了变量,但它看起来像是未定义的。这是我的代码: getHistorial(dateB:string, dateA:string){
var test = response.Historial.pipe(map(fecha)); 我使用的是这是
我无法访问我的JSON对象属性。answers.push(a); getAnswer: function (idx) { }然后我在我的代码中创建它,如下所示: var cq = new contractorTestQuestion(qid,q,m,t,tqQuesPos);
我想要做的是cq.question,并且能够获得存储在该字段中的值。