confirm

external fun confirm(message: String): Boolean(source)

MDN Reference