(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func TestArrayCanonicalIndex(t *testing.T) { |
| 32 | const SCRIPT = ` |
| 33 | var a = []; |
| 34 | a["00"] = 1; |
| 35 | a["01"] = 2; |
| 36 | if (a[0] !== undefined) { |
| 37 | throw new Error("a[0]"); |
| 38 | } |
| 39 | ` |
| 40 | |
| 41 | testScript(SCRIPT, _undefined, t) |
| 42 | } |
| 43 | |
| 44 | func BenchmarkArrayGetStr(b *testing.B) { |
| 45 | b.StopTimer() |
nothing calls this directly
no test coverage detected
searching dependent graphs…