Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     Set Browser preference

    B.

     Set Netscape preference

    C.

     Both Set Browser & Netscape preference

    D.

     None of the mentioned

    View Answer

    Workspace

    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