Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Where is the information of the userAgent property located?

  2. A.

     appId

    B.

     appName

    C.

     platform

    D.

     appVersion

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The string that the browser sends in its USER-AGENT HTTP header. This property typically contains all the information in appVersion and may contain additional details as well. Like appVersion, there is no standard format. Since this property contains the most information, browser-sniffing code typically uses it.


Be The First To Comment