Window.prompt - Web documentation
property Window.prompt

Type

(
message?: string,
defaultValue?: string,
) => string | null