Removed localStorage.hasKey binding (#22766)

Doesn't exists anymore.

Use `window.localStorage.getItem("key").isNil` instead

![Screenshot from 2023-09-28
07-22-41](https://github.com/nim-lang/Nim/assets/74574275/65d58921-58c7-4a81-9f3b-5faa3a79c4f2)
This commit is contained in:
Thiago
2023-09-28 09:30:04 +00:00
committed by GitHub
parent f0865fa696
commit 4bf0f846df

View File

@@ -1682,7 +1682,6 @@ proc `$`*(s: Selection): string = $(s.toString())
# Storage "methods"
proc getItem*(s: Storage, key: cstring): cstring
proc setItem*(s: Storage, key, value: cstring)
proc hasItem*(s: Storage, key: cstring): bool
proc clear*(s: Storage)
proc removeItem*(s: Storage, key: cstring)