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.

Discussion (2)

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?