Maybe a silly question, I am trying to extract the values of an object, for some reason I get errors. In the below picture I am trying to get the value of sumchans__totalUnits__c. The value below is stored in the variable penStatDates. This is what I tried:
console.log(penStatDates); Gives me the below data. console.log(penStatDates.sumchans__totalUnits__c);-this gives me errors.
Also trying to extract the values of the inner array. Please advise!