所以基本上你可以得到你想要的深度。但不能仅使用question.answers.questionId进行正确的比较。
显然,每个循环的.find都会给你提供顶级的对象。你想怎么做就怎么做。
let arr = [{'questionId': 0000, 'answers': [{'title': 'answer1'},{'title': 'answer2'}]}];
//returns object of the top level if questioned equals to 0
arr.find((answer) => answer.questionId === 0);
//comparison with the internal array elements
//returns answer if one of the internal answers has title 'answer 1'
arr.find((answer) => !!answer.answers.find((internalAnswer => internalAnswer.title === 'answer1')));