Closed Methuselah96 closed 3 years ago
From @bonusbb on Thu, 31 Jan 2019 09:37:37 GMT
if const a = new List([new Map({ title: 'first', startTime: '09:00:00', endTime: '12:00:00', complete: true }), new Map({ title: 'second', startTime: '14:00:00', endTime: '16:00:00', complete: false }), ]),
when i use a.map((value,index) => { //HOW TO GET VALUE OF NEXT ELEMENT IN HERE ? })
Copied from original issue: https://github.com/immutable-js/immutable-js/issues/1687
Question answered in original repo.
From @bonusbb on Thu, 31 Jan 2019 09:37:37 GMT
if const a = new List([new Map({ title: 'first', startTime: '09:00:00', endTime: '12:00:00', complete: true }), new Map({ title: 'second', startTime: '14:00:00', endTime: '16:00:00', complete: false }), ]),
when i use a.map((value,index) => { //HOW TO GET VALUE OF NEXT ELEMENT IN HERE ? })
Copied from original issue: https://github.com/immutable-js/immutable-js/issues/1687