提交 8231a3ab 编写于 作者: M mahaifeng

[array]去除手动生成的代码

上级 0d092a39
...@@ -925,10 +925,7 @@ val convertArrayFromKotlin = UTSArray.fromNative(kotlinArray); ...@@ -925,10 +925,7 @@ val convertArrayFromKotlin = UTSArray.fromNative(kotlinArray);
## 常见操作 ## 常见操作
- 创建数组 - 创建数组
```ts <!-- UTSJSON.Array.aaa.sampleCreate -->
const fruits = ['Apple', 'Banana']
console.log(fruits.length)
```
- 通过索引访问数组元素 - 通过索引访问数组元素
```ts ```ts
const first = fruits[0] const first = fruits[0]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册