А здесь есть прикол
Alert
confirm
prompt
open the window
close