will give you information about the count of "duplicates" in an array, as an object
summary (oneliner)
when given an array with "non" unique items, like:
const a = [
"maus",
"hund",
"maus",
"katze",
"maus",
];
will return an object with information on the ocurrences of every unique value, so:
{
"hund" : 1,
"katze": 1,
"maus": 3,
};
doc
issues
example patch id
youtube ids (comma seperated)
caniuse query
collections
Inputs
In (Array)
an array of arbitrary values
Outputs
Result (Array)
an array with all the unique values in the input-array