Skip to content

Function: getBrowserVersion()

ts
function getBrowserVersion(): string;

Returns the version string of the current browser, or '' outside a browser environment.

Returns

string

Example

ts
getBrowserVersion() // => '120.0.6099.109'

Since

1.0.0

Released under the MIT License.