title: JavaScript Safari - SyntaxError: Unexpected token '>'
body: <p>I have the problem that this JavaScript snippet runs in Firefox / Chrome without any problem, and Safari I get error: "SyntaxError: Unexpected token '>'".</p>
  
  <p>Here's the code:</p>
  
  <pre><code>window.onclick = (test) =&gt; {
    const googleWindow = window.open();
    fakeAjax(response =&gt; {
      googleWindow.location.replace(`https://google.com?q=${response}`);
    });
  };
  
  function fakeAjax(callback) {
    setTimeout(() =&gt; {
      callback('example');
    }, 1);
  }
  </code></pre>
  
  <p>I've googled and have already seen here in the forum, the problem there appears often, unfortunately I have not found a suitable solution.</p>
  
  <p>Thank you in advance
  Best regards</p>