I can't access to JSON object that exist inside another object , my code is like this:
var di = [
{ score: 0.75,
obj:
{ _id: '8888888',
title: 'diiiiiii',
description: 'fdsf dfd sfjos sofjsof' }
},
{ score: 0.75,
obj:
{ _id: '444444',
title: 'dfssd ddd ',
description: 'sdfsfs', }
},
{ score: 0.75,
obj:
{ _id: '55555',
title: 'ffffood ',
description: 'iiiiiiiiii' }
}
]; console.log(di.obj);
I get undifined