kotlin-stdlib / kotlin.collections / MutableSet / asJsSetView asJsSetView JS 2.0 open fun asJsSetView(): <ERROR CLASS><E>(source) Returns a view with the JsSet methods to consume it in JavaScript as a regular Set. Structural changes in the base set are synchronized with the view, and vice verse.