Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b105
-
generic
-
generic
-
Verified
Description
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; })()
Attachments
Issue Links
- relates to
-
JDK-8022062 NativeArguments improvements
- Resolved