What is the purpose of the `localStorage` API in browsers?
-
A
To store key-value data persistently in the browser with no expiration
-
B
To save data to the server without a database
-
C
To cache network responses for offline use
-
D
To store session data that clears when the tab closes