DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Shweta Danej
Shweta Danej

Posted on

Detect browser and its version in javascript

All major browser supports the object called navigator, this object has the information about the browser.

Top comments (3)

Collapse
 
swapnilpradhan profile image
Swapnil

I think it is because chrome is your default browser.

Collapse
 
mutale85 profile image
Mutale85

This was helpful.

Collapse
 
awaiscb profile image
Awais-cb

Output is chrome when using opera? any specific reason for that?

Visualizing Promises and Async/Await 🀯

async await

☝️ Check out this all-time classic DEV post