Skip to content

Commit 39c49f3

Browse files
committed
docs(bom/storage): fixed wangdoc#216
1 parent d492be0 commit 39c49f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bom/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ window.localStorage.clear()
8686

8787
### Storage.key()
8888

89-
`Storage.key()`接受一个整数作为参数(从零开始),返回该位置对应的键值
89+
`Storage.key()`接受一个整数作为参数(从零开始),返回该位置对应的键名
9090

9191
```javascript
9292
window.sessionStorage.setItem('key', 'value');

0 commit comments

Comments
 (0)