kotlin-stdlib / kotlin.collections / stringSetOf stringSetOf JS 1.1 fun stringSetOf(vararg elements: String): HashSet<String>(source) Creates a new instance of the specialized implementation of HashSet with the specified String elements, which elements the keys as properties of JS object without hashing them.