πŸ“Š Machine Learning
Q. The localStorage and sessionStorage belongs to
  • (A) Window object
  • (B) Element object
  • (C) Hash object
  • (D) DOM object
πŸ’¬ Discuss
βœ… Correct Answer: (A) Window object

Explanation: 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.

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate