title: How to get id from array of Object?
body: <p>I have data in response so here <code>rcsaAssessmentData.data.lobCheckListDTOs</code> is array , riskAsesCklstSessionKey is property of array , How can i get this key using filter or any other option.Below console is printing all objects but i just want value for the <code>riskAsesCklstSessionKey</code>.</p>
  
  <p>So far tried code...</p>
  
  <p>array.js</p>
  
  <pre><code>var opChecklist = rcsaAssessmentData.data.lobCheckListDTOs.filter(function(obj){
    return obj.riskAsesCklstSessionKey;
    console.log("opcheclist...............",obj.riskAsesCklstSessionKey);
  });
  
  $scope.challengesDTO.addChlngToChklst= obj.riskAsesCklstSessionKey;
  </code></pre>