val s = setOf(1, 2, 3) val l = s.toMutableList() // 可变 List 可以修改 l.add(4) l.add(5) l.add(6) l.forEach { _console.log(it) }