function reset() {
	let window = getWindow();
	if (CACHE.installPromptListener) {
		window && window.removeEventListener && window.removeEventListener('beforeinstallprompt', CACHE.installPromptListener);
		CACHE.installPromptListener = null;
	}
	if (CACHE.appInstalledListener) {
		window && window.removeEventListener && window.removeEventListener('appinstalled', CACHE.appInstalledListener);
		CACHE.appInstalledListener = null;
	}
	CACHE.prompt = null;
	CACHE.onPrompts = [];
}
/**
 * Any window listeners and cached prompts that have been captured by awaitInstallPrompt() are removed.
 */
Any window listeners and cached prompts that have been captured by awaitInstallPrompt() are removed.
Any window listeners and cached prompts that have been captured by awaitInstallPrompt () are removed .
function reset() {
	let window = getWindow();
	if (CACHE.installPromptListener) {
		window && window.removeEventListener && window.removeEventListener('beforeinstallprompt', CACHE.installPromptListener);
		CACHE.installPromptListener = null;
	}
	if (CACHE.appInstalledListener) {
		window && window.removeEventListener && window.removeEventListener('appinstalled', CACHE.appInstalledListener);
		CACHE.appInstalledListener = null;
	}
	CACHE.prompt = null;
	CACHE.onPrompts = [];
}
function reset ( ) { let window = getWindow ( ) ; if ( CACHE . installPromptListener ) { window && window . removeEventListener && window . removeEventListener ( 'beforeinstallprompt' , CACHE . installPromptListener ) ; CACHE . installPromptListener = null ; } if ( CACHE . appInstalledListener ) { window && window . removeEventListener && window . removeEventListener ( 'appinstalled' , CACHE . appInstalledListener ) ; CACHE . appInstalledListener = null ; } CACHE . prompt = null ; CACHE . onPrompts = [ ] ; }
Any window listeners and cached prompts that have been captured by awaitInstallPrompt() are removed.
Any window listeners and cached prompts that have been captured by awaitInstallPrompt () are removed .