Kinetic使用注意点--collection new Collection() 扩展了数组,主要用于配合new Container().get()使用 方法: each(func):遍历数组,执行回调函数。回调函数接收两个值,节点和索引。 toArray():将集合转换为数组。