GithubHelp home page GithubHelp logo

Comments (2)

littledu avatar littledu commented on June 1, 2024

暂时没有提供 编译模式 的选择,严格模式 还是很多好处的,如:

  1. 明确禁止一些不合理、不严谨的语法,减少 JavaScript 语言的一些怪异行为。
  2. 增加更多报错的场合,消除代码运行的一些不安全之处,保证代码运行的安全。
  3. 提高编译器效率,增加运行速度。
  4. 为未来新版本的 JavaScript 语法做好铺垫。

建议还是按严格模式来要求自己,可以参考:http://javascript.ruanyifeng.com/advanced/strict.html

from weflow.

zhongzhifa avatar zhongzhifa commented on June 1, 2024

好的。谢谢您。我改成严格模式了。可以关闭了问题了。

from weflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.