(t *testing.T)
| 4124 | } |
| 4125 | |
| 4126 | func TestArrayAssignPattern1(t *testing.T) { |
| 4127 | const SCRIPT = ` |
| 4128 | let a, b; |
| 4129 | ([a = 3, b = 2] = [1]); |
| 4130 | a === 1 && b === 2; |
| 4131 | ` |
| 4132 | testScript(SCRIPT, valueTrue, t) |
| 4133 | } |
| 4134 | |
| 4135 | func TestArrayAssignPatternLHS(t *testing.T) { |
| 4136 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…