localStorage

external val localStorage: Storage(source)

Deprecated

Warning since 1.4

Error since 1.6

Hidden since 2.1

This API is moved to another package, use 'kotlinx.browser.localStorage' instead.

Replace with

import kotlinx.browser.localStorage
localStorage

Since Kotlin

1.1