πŸ“Š JavaScript
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Set Netscape preference

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.

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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