ctuation">(</span><span class="token string">'userHasEnteredData'</span><span class="token punctuation">)</span> <span class="token operator">&amp;&amp;</span>
          <span class="token operator">!</span><span class="token function">confirm</span><span class="token punctuation">(</span><span class="token string">'Are you sure you want to abandon progress?'</span><span class="token punctuation">)</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
        transition<spa