chakra-core / chakra-core/ChakraCore
Arguments object properties should throw an error when non-configurable
Open
Bug
Severity: 3
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
```js
function foo(a) {
Object.defineProperty(arguments, "0", {configurable: false});
var args = arguments;
(function() { "use strict";
delete args[0];
})();
}
foo(1);
```
Expected: TypeError, deleting non-configurable property in strict mode
Actual: No error
Contributor guide
Assessment
This issue has not been assessed yet.