JS: Set.prototype

By Xah Lee. Date: . Last updated: .

(new in ECMAScript 2015)

What is Set.prototype

Purpose of Set.prototype is to provide methods and properties useful for all set objects.

Properties