Implement binding pattern support for rest argument and for statement. (#3327)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2019-11-19 14:02:17 +01:00
committed by Dániel Bátyai
parent a7d129c8b2
commit bf630c0c54
9 changed files with 153 additions and 11 deletions
+1
View File
@@ -30,6 +30,7 @@ must_throw ("function f([a], a) {}");
must_throw ("function f(a = b, [b]) {}; f()", ReferenceError);
must_throw ("function f([a+b]) {}");
must_throw ("function f([a().b]) {}");
must_throw ("function f(...[a] = [1]) {}");
function a1([a,b]) {
var a, b;