m = _maps.mutableMapOf(_maps.pairOf(1, "A"), _maps.pairOf(2, "B")) # 可变 Map 可以修改 m.put(3, "C") m.put(4, "D") m.put(5, "E") def fn(it): _console.log(it) _objectWrappers.wrap(m).forEach(fn)