Multiple choice technology web technology

How can you find a client's browser name?

  1. browser.name

  2. navigator.appName

  3. client.navName

  4. clientbrowser.navName

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The navigator object contains information about the browser. navigator.appName returns the browser name. Option A's browser.name doesn't exist, and options C and D use non-existent properties like client.navName.