l = _iterables.mutableListOf(1, 2, 3) # 可变 List 可以修改 l.add(4) l.add(5) l.add(6) def fn(it): _console.log(it) _objectWrappers.wrap(l).forEach(fn)