Discussion :: Javascript - CS
- 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 |
Answer : Option 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.
Be The First To Comment