M

Mr. Dubey • 52.30K Points
Coach

Q. The localStorage and sessionStorage belongs to

  • (A) Window object
  • (B) Element object
  • (C) Hash object
  • (D) DOM object

Explanation by: Mr. Dubey
Browsers that implement the “Web Storage” draft specification define two properties on the Window object: localStorage and sessionStorage. Both properties refer to a Storage object—a persistent associative array that maps string keys to string values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.