Hi ! One other one line path to Rome, from France :
arr = arr.filter((power, toThe, yellowVests) => yellowVests.map(updateDemocracy => updateDemocracy['id']).indexOf(power['id']) === toThe)
More JS but too slow.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.