Commit cec53692 authored by dslomov's avatar dslomov Committed by Commit bot

Destructuring: add more parssing tests.

R=arv@chromium.org
BUG=v8:811
LOG=N

Review URL: https://codereview.chromium.org/1112073002

Cr-Commit-Position: refs/heads/master@{#28131}
parent fcae4940
......@@ -6369,7 +6369,9 @@ TEST(DestructuringPositiveTests) {
"[{x:x, y:y}, [a,b,c]]",
"[a,,b]",
"{42 : x}",
"{42e-2 : x}",
"{'hi' : x}",
"{var: x}",
NULL};
// clang-format on
static const ParserFlag always_flags[] = {kAllowHarmonyDestructuring};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment