(t *testing.T)
| 4151 | } |
| 4152 | |
| 4153 | func TestArrayAssignPatternRestPattern(t *testing.T) { |
| 4154 | const SCRIPT = ` |
| 4155 | let a, b, z; |
| 4156 | [ z, ...[a, b] ] = [0, 1, 2]; |
| 4157 | z === 0 && a === 1 && b === 2; |
| 4158 | ` |
| 4159 | testScript(SCRIPT, valueTrue, t) |
| 4160 | } |
| 4161 | |
| 4162 | func TestArrayBindingPattern(t *testing.T) { |
| 4163 | const SCRIPT = ` |
nothing calls this directly
no test coverage detected
searching dependent graphs…