Vidyalelo
JavaScript · Q20

Animation

Programming · JavaScript · question 20

Q20

What is the purpose of the userAgent property?

A.
Identifying the data
B.
Identifying the client
Answer
C.
Both Identifying the data and client
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
The userAgent[] property is a string that contains the code name and version of the browser. This value is sent to the originating server to identify the client.