1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00
otto/error_test.go
2013-04-20 20:03:34 -07:00

16 lines
190 B
Go

package otto
import (
. "./terst"
"testing"
)
func TestError_instanceof(t *testing.T) {
Terst(t)
test := runTest()
test(`
(new TypeError()) instanceof Error
`, "true")
}