What is the purpose of the userAgent property?

What is the purpose of the userAgent property?
A. Identifying the data
B. Identifying the client
C. Both Identifying the data and client
D. Identifying the dataset
 
Answer: b
Explanation: 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. The userAgent property returns the value of the user-agent header sent by the browser to the server.
 

Tìm kiếm

Back
Top