[Bug] Safari 15 has the JS error

Author: zystudiosCreated Sep 20, 2026Updated Sep 27, 2026

Hello everyone, I ran into an issue. I am using monaco-editor: ^0.56.0 along with React 18 and Webpack 5. When running it on an old macOS system using the Safari 15 browser, it throws an error, but Chrome and Firefox don't have any issues. I suspect that some advanced syntax might be causing Safari 15 not to support it. Does anyone have any suggestions? Thanks.

Screenshots

ImageImage

Desktop (please complete the following information):

  • OS: mac os 10.15
  • Browser safari 15.6.1