javascript的严格模式:use strict ECMAscript 5添加的运行模式,禁止一些非标准、不安全的操作。 <script> "use strict"; console.log("这是严格模式。"); </script>