DEV Community

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 (2)

Collapse
 
mutale85 profile image
Mutale85

This was helpful.

Collapse
 
awaiscb profile image
Awais

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