Object is in next format:
[login to view URL]
Needed to go through objects key and compare them.
[login to view URL]
Compare object (it's values) with each other in the group with next if logic:
If only 1 object with "udatedBy": "[login to view URL]" exists in group - push other objects (their key value, red line on screenchot) to removeArr.
If more than 1 object with "udatedBy": "[login to view URL]" exists in group - leave that one that is "status": "Enrolled" and has the most recent "enrollDate", other ( key value, red line on screenchot) push to removeArr.
If none object in group are "udatedBy": "[login to view URL]" - don't do anything
Use only pure JS, no frameworks, no JS libraries
Hi felinskyi.
.I sure i can help you
We have experience in thoses skills: Javascript, JSON
SAVE your time and SAVE my time is my goal, do this project fast as possible and support you all time: now and feature
Please text me via inbox to discuss with me about this task
Relevant Skills and Experience
Javascript, JSON
Proposed Milestones
$20 USD - for starting project
We can Discuss custom Milestones