How to find the version of the browser using javascript

Posted by Manideepgoud under JavaScript category on | Points: 40 | Views : 189
We use appVersion and userAgent to find the version of the browser.
<button onclick="myFunction()">Try it</button>
<p id="fun"></p>
function myFunction() {
document.getElementById("fun").innerHTML =

//similarly navigator.userAgent also displays version information of the browser.//

Comments or Responses

Login to post response