Computer Science, asked by payalgupta2149, 10 months ago

Explain confirm() command with an example

Answers

Answered by Anonymous
3

Answer:

The JavaScript confirm() method displays a specified message in a dialog box, containing OK and CANCEL buttons. A confirm box is used to accept or verify something. ... The confirm() method returns true when users click OK, and false when they click CANCEL or X.

Similar questions