Question 9
Which of the following statement(s) is/are correct regarding web storage APIs?
Web Storage APIs provide a way to store key-value pairs persistently on the client side.
Web Storage APIs include “localStorage” and “sessionStorage”.
Data stored in “localStorage” is automatically cleared when the browser session ends.
The “sessionStorage” allows data to persist across browser sessions.