-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: core-libs
-
b105
-
generic
-
generic
-
Verified
The concept of mapped parameter in NativeArguments is wrong. If a function has a formal parameter but is called without passing a value for it, the parameter is considered to be not mapped according to ES 10.6.
The following should return undefined instead of 1:
(function(a) { arguments[0] = 1; return a; })()
The following should return undefined instead of 1:
(function(a) { arguments[0] = 1; return a; })()
- relates to
-
JDK-8022062 NativeArguments improvements
-
- Resolved
-