Как проверить, какой браузер вы используете

// We want to alert the user about what their current browser is.
// We can use the navigator object to get the user's browser.

// Create a variable called browser and set it to the user's browser.
// Then alert the user what their browser is.
const browser = navigator.userAgent;
alert(browser);
Old-fashioned Otter