browser detection using javascript code example Example: browser version check for chrome or firefox typescript browser version check for chrome or firefox typescript