From 8231a3abe878372d19986e865f6a8978e59010b0 Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Wed, 4 Sep 2024 11:29:39 +0800 Subject: [PATCH] =?UTF-8?q?[array]=E5=8E=BB=E9=99=A4=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/uts/buildin-object-api/array.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/uts/buildin-object-api/array.md b/docs/uts/buildin-object-api/array.md index 2fc6449f..7fdee5d1 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] -- GitLab