What's the value of navigator.platform on ARM Macs?
javascript, macos
Solution
All Chrome / Chromium-based browsers will return `MacIntel` on macOS, no matter what the hardware architecture is. See the source code here: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/navigator_id.cc;l=64;drc=703d3c472cf27470dad21a3f2c8972aca3732cd6
Problem
Apple has released 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 `navigator.platform` 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)? You can check yours using this snippet: ``` console.log(navigator.platform); console.log(navigator.userAgent); ```