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