/// The Window.alert() method displays an alert dialog
/// with the optional specified content and an OK button.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)
// https://html.spec.whatwg.org/#the-window-object:dom-alert
The Window.alert() method displays an alert dialog
with the optional specified content and an OK button.


The Window . alert () method displays an alert dialog with the optional specified content and an OK button .
pub fn alert( &self, message: &str ) {
        js!( @(no_return)
            @{self}.alert( @{message} );
        );
    }
pub fn alert ( & self , message : & str ) { js ! ( ( no_return ) { self } alert ( { message } ) ) ; }
The Window.alert() method displays an alert dialog
with the optional specified content and an OK button.
The Window . alert () method displays an alert dialog with the optional specified content and an OK button .
&self
message
&str