神岛 API 文档 - ArenaPro版
    Preparing search index...
    • Returns the string and symbol keys of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype.

      Parameters

      • target: object

        Object that contains the own properties.

      Returns (string | symbol)[]

    • Parameters

      • target: object

      Returns PropertyKey[]

      返回一个由目标对象自身的属性键组成的数组。

      Returns an array of the target object's own property keys.