mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
fix: Storage.keys() never returned the value
This commit is contained in:
parent
78116c2d0c
commit
a7f882a3c5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function storageProxy(scope: Storage): Storage {
|
|||
|
||||
case "key":
|
||||
return (index: number) => {
|
||||
store.keys()[index];
|
||||
return [...store.keys()][index];
|
||||
};
|
||||
case "length":
|
||||
return store.size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue