ImmutableSet.md
March 24, 2015 ยท View on GitHub
Immutable Set
Examples
Initialization
const a = ImmutableSet([1, 2]);
Extension
const b = a.add(3);
Type
typeof ImmutableSet(); // 'set'
Prototype
Value types are not objects and have no prototype. Member expressions are exposed on the Immutable Set's prototype which is unique for each realm, just like other value types. This prototype is exposed on the realm's global ImmutableSet.prototype.