Can I check the browser installed in Web JavaScript?

I am a student studying JavaScript.

If a user clicks on a particular button on a website, is there a way to check JavaScript for the browser installed on your PC?

  1. (chrome)A site > button click
  2. (chrome)A site > Verify that edge browser exists
  3. (yes) open edge / (no) install edge