nerdexam
Microsoft

98-375 · Question #80

98-375 Question #80: Real Exam Question with Answer & Explanation

The correct answer is D. number of key-value pairs in local storage. See the full explanation below for the reasoning.

Question

What value does the following JavaScript code fragment store into the variable num? varnum = localStorage.length;

Options

  • Amaximum length of a character string
  • Bpotential capacity of local storage
  • Cnumber of bytes available in local storage
  • Dnumber of key-value pairs in local storage

Community Discussion

No community discussion yet for this question.

Full 98-375 Practice