Fix arguments object detection in non-complex param list (#4867)
This patch is the followup of #4849. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
@@ -217,3 +217,8 @@ function f22 (arguments, [a = arguments]) {
|
||||
assert(arguments === 3.1);
|
||||
}
|
||||
f22(3.1, []);
|
||||
|
||||
function f23(arguments, eval = () => eval()) {
|
||||
assert(arguments === undefined);
|
||||
}
|
||||
f23(undefined);
|
||||
|
||||
Reference in New Issue
Block a user