未验证 提交 c3681c65 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-plainarray.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 e9f92b09
......@@ -153,7 +153,7 @@ getIndexOfKey(key: number): number
let plainArray = new PlainArray();
plainArray.add(1, "sddfhf");
plainArray.add(2, "sffdfhf");
let result = plainArray.getIndexOfKey("sdfs");
let result = plainArray.getIndexOfKey(2);
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册