Q46
Which property is used to detect the browser’s user agent and code based on the pertinent cases?
A.
navigator.userAgent
AnswerB.
navigator.user
C.
navigator
D.
return
Answer: Option A
Solution
Answer: Option A
Solution:
An old strategy was to look at the property navigator.userAgent to detect the browser’s user agent and code based on the pertinent cases.