Using The Confirm Message Box

The Confirm method is called a global method & is provided by the browser. You will want to use this when you need to ask a Yes/No question and respond to the users choice.

Go to Yahoo.com
Exit