JavaScript)

Yes, "arguments" is a reserved word in strict mode JavaScript. When strict mode is enabled, attempting to declare a variable or function with the name "arguments" will result in a syntax error. This is because "arguments" is a special keyword in JavaScript that refers to the arguments passed to a function. In strict mode, the use of this keyword is restricted to the function it is defined in, and cannot be used as a variable or parameter name. This helps to prevent potential bugs and makes code more predictable and easier to understand.

arguments is a reserved word in strict mode

原文地址: https://www.cveoy.top/t/topic/baNA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录