(t *testing.T)
| 4115 | } |
| 4116 | |
| 4117 | func TestArrayAssignPattern(t *testing.T) { |
| 4118 | const SCRIPT = ` |
| 4119 | let a, b; |
| 4120 | ([a, b] = [1, 2]); |
| 4121 | a === 1 && b === 2; |
| 4122 | ` |
| 4123 | testScript(SCRIPT, valueTrue, t) |
| 4124 | } |
| 4125 | |
| 4126 | func TestArrayAssignPattern1(t *testing.T) { |
| 4127 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…