From 5e653f2e6ca14ac1ad8e801955a709cae7ac8a11 Mon Sep 17 00:00:00 2001 From: Leonardo Balter Date: Tue, 29 Dec 2015 16:50:23 -0500 Subject: [PATCH] ObjectBindingPatterns can't end with multiple commas --- .../syntax/property-list-followed-by-a-single-comma.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js b/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js index c5fa12ea69..04c37695f3 100644 --- a/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js +++ b/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js @@ -19,6 +19,4 @@ function fn1({x,}) {} function fn2({a: {p: q, }, }) {} -function fn3({x,,}) {} - -function fn4({x,,,,,,,}) {} +function fn3({x,}) {}