누군가 내가 여기서 잘못하고있는 것을 보여줄 수 있는지 궁금 해서요. _.reduce를 사용하여 개체의 필드를 얻으려고 시도 할 때마다 매번 '첫 번째'필드가 누락 된 것 같습니다.Lodash _. 문제를 개선 하시겠습니까?
첫 번째 줄은 일반 js이고, 다음 줄은 lodash입니다. $의 scope.item이
$scope.item = {
field1: 'test',
field2: 'test',
field3: 'test',
field4: 'test',
field5: 'test',
field6: 'test'
};
https://plnkr.co/edit/J9MBahQNIsZkMFzrHjKG