Code example for JsPromptResult

Methods: cancel