(t *testing.T)
| 4133 | } |
| 4134 | |
| 4135 | func TestArrayAssignPatternLHS(t *testing.T) { |
| 4136 | const SCRIPT = ` |
| 4137 | let a = {}; |
| 4138 | [ a.b, a['c'] = 2 ] = [1]; |
| 4139 | a.b === 1 && a.c === 2; |
| 4140 | ` |
| 4141 | testScript(SCRIPT, valueTrue, t) |
| 4142 | } |
| 4143 | |
| 4144 | func TestArrayAssignPatternElision(t *testing.T) { |
| 4145 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…