集合的 getLength 方法(客户端 API 参考)

获取集合中的项计数。

Syntax

collection.getLength()

返回值

类型:数字

说明:集合中的项计数。

客户端 API 中的集合
forEach
获取