diff --git a/docs/uts/buildin-object-api/array.md b/docs/uts/buildin-object-api/array.md index 2fc6449f47ad701377b90f5fac499673c3fea6d1..7fdee5d1f658cd5c56a9ac8aa6d99314624cb42e 100644 --- a/docs/uts/buildin-object-api/array.md +++ b/docs/uts/buildin-object-api/array.md @@ -925,10 +925,7 @@ val convertArrayFromKotlin = UTSArray.fromNative(kotlinArray); ## 常见操作 - 创建数组 -```ts -const fruits = ['Apple', 'Banana'] -console.log(fruits.length) -``` + - 通过索引访问数组元素 ```ts const first = fruits[0]