How can you find a client's browser name in javascript
-
client.navName
-
client.appName
-
navigator.appName
-
clientitself.navName
C
Correct answer
Explanation
In JavaScript, the navigator object (part of the Window interface) contains information about the browser. The appName property specifically returns the official name of the browser. Options A and B use a non-existent 'client' object, while option D invents 'clientitself', which is not valid JavaScript syntax.