神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface ArrayLike<T>

    表示类似数组的对象。

    Represents an array-like object.

    interface ArrayLike<T> {
        length: number;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    length: number

    获取或设置数组的长度。此值是一个 32 位无符号整数,始终在数值上大于数组中最高项的索引。

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.