title: What's the value of navigator.platform on ARM Macs?
body: <p>Apple has <a href="https://www.apple.com/apple-events/november-2020/" rel="noreferrer">released</a> several new computers based on M1 chip which uses ARM architecture (in contrast to previous computers that are based on x86 architecture). What is the value of the <code>navigator.platform</code> JavaScript variable in Safari, Chrome and other browsers on the new ARM computers? Also, what's the user agent (it should contain the platform name)?</p>
  <p>You can check yours using this snippet:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>console.log(navigator.platform);
  console.log(navigator.userAgent);</code></pre>
  </div>
  </div>
  </p>