No. Instead, you can also use the alert function, the confirm function, or WScript as shown here.
alert
confirm