(t *testing.T)
| 4142 | } |
| 4143 | |
| 4144 | func TestArrayAssignPatternElision(t *testing.T) { |
| 4145 | const SCRIPT = ` |
| 4146 | let a, b; |
| 4147 | ([a,, b] = [1, 4, 2]); |
| 4148 | a === 1 && b === 2; |
| 4149 | ` |
| 4150 | testScript(SCRIPT, valueTrue, t) |
| 4151 | } |
| 4152 | |
| 4153 | func TestArrayAssignPatternRestPattern(t *testing.T) { |
| 4154 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…