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

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. Sets user preference
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top