Home / Programming MCQs / JavaScript MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. What is the purpose of the preference method in a navigator?

(A) Set Browser preference
(B) Set Netscape preference
(C) Both Set Browser & Netscape preference
(D) None of the mentioned
Explanation by: Mr. Dubey
The preference(name,value) method allows a signed script to get and set some Netscape preferences. If the second parameter is omitted, this method will return the value of the specified preference; otherwise, it sets the value. Netscape only.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.