Overview of Immutable.js Iterable.Set
v3.8.4Iterable.Set represents a collection of values without associated keys or indices. While the concrete Set implementation prohibits duplicate values, Seq.Set (the sequence version of an Iterable.Set) may allow duplicates.
When using methods like map() or forEach() on an Iterable.Set, the value is provided as both the first and second arguments to the callback function because there are no distinct keys.
var seq = Seq.Set.of('A', 'B', 'C');
// v (value) and k (key) are the same in Iterable.Set
assert.equal(seq.every((v, k) => v === k), true);