How to get distinct values from an array of objects in JavaScript?
by Catalin · 1 min read
Let's say you have an array of objects like follow and you would like to get distinct values based on a key - property of the object. Let's consider to have this list: const list = [{ group: 'A',