how to check chrome version code example

Example 1: how to check chrome version in js

function getChromeVersion () {     
    var raw = navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);

    return raw ? parseInt(raw[2], 10) : false;
}

Example 2: my chrome version

How to seach your Chrome version: 
1. Click the three dots at the top right of chrome.
2. Help -> About Google Chrome.
3. That's it :D

Example 3: chrome version command line

wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value