/code>:</p>
<div class="sourceCode" id="cb936"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb936-1"><a href="mobile-pwa.html#cb936-1" aria-hidden="true" tabindex="-1"></a><span class="kw">let</span> deferredPrompt<span class="op">;</span></span>
<span id="cb936-2"><a href="mobile-pwa.html#cb936-2" aria-hidden="true" tabindex="-1"></a><span class="bu">window</span><span class="op">.</span><span class="fu">addEventListener</span>(<span class="st">'beforeinstallprompt'</span><span 