(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestInternalizeCircularReference(t *testing.T) { |
| 12 | // See https://github.com/gopherjs/gopherjs/issues/968. |
| 13 | js.Global.Call("eval", ` |
| 14 | var issue968a = {}; |
| 15 | var issue968b = {'a': issue968a}; |
| 16 | issue968a.b = issue968b;`) |
| 17 | _ = js.Global.Get("issue968a").Interface() |
| 18 | } |