Examveda

Where is the information of the userAgent property located?

A. appId

B. appName

C. platform

D. appVersion

Answer: Option D

Solution (By Examveda Team)

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.

Join The Discussion

Related Questions on Document Object Model and Event Handling