JS: Set.prototype[Symbol.toStringTag]

By Xah Lee. Date: . Last updated: .

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