- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestZeroValue (0.18 sec)
-
src/syscall/js/js_test.go
t.Errorf("got %v, want %v", got, 42) } o := js.ValueOf(object{"x": object{"y": 42}}) if got := o.Get("x").Get("y").Int(); got != 42 { t.Errorf("got %v, want %v", got, 42) } } func TestZeroValue(t *testing.T) { var v js.Value if !v.IsUndefined() { t.Error("zero js.Value is not js.Undefined()") } } func TestFuncOf(t *testing.T) { c := make(chan struct{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0)