JavaScript: 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]

JS in Depth
XAH  BUY NOW

JS in Depth

JS Obj Ref

DOM


JS Obj Ref

Set

prototype