add assignment expression parentheses test

This commit is contained in:
Amjad Masad
2016-01-06 16:03:45 -08:00
parent 6abee425d3
commit ec983b276e
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
1 + (a = 2);
1 + (a += 2);
a = a || (a = {});

View File

@@ -0,0 +1,3 @@
1 + (a = 2);
1 + (a += 2);
a = a || (a = {});