JS: Set.prototype[Symbol.toStringTag]
New in JS2015.
Set.prototype [ Symbol.toStringTag ]
Value is the string "Set"
.
〔see Determine Type of Object〕
console.log( Set.prototype [ Symbol.toStringTag ] === "Set" ); // true
〔see Symbol Tutorial〕
New in JS2015.
Set.prototype [ Symbol.toStringTag ]
Value is the string "Set"
.
〔see Determine Type of Object〕
console.log( Set.prototype [ Symbol.toStringTag ] === "Set" ); // true
〔see Symbol Tutorial〕