Home Forums Games202-高质量实时渲染 [作业0]浏览器兼容情况

Viewing 0 reply threads
  • Author
    Posts
    • #7871 Score: -1
      Dan
      Participant
      2 pts

      本次作业的 src/materials/Material.js 文件中的 Material 类使用了 ES6 的 private class field 语法。根据 MDN 相关页面显示,目前桌面浏览器中仅有 Chrome(>=74),Edge(>=79),Opera(>=62) 以及 Firefox Nightly 支持该语法。如有同学在浏览器控制台中看到类似 Uncaught SyntaxError: private fields are not currently supported 的报错,请酌情更换浏览器或升级浏览器版本。

      Browser compatibility

      This post has received 1 vote down.
      • This topic was modified 8 months, 2 weeks ago by Dan.
Viewing 0 reply threads
  • You must be logged in to reply to this topic.