Beispiel #1
0
func (val_ *Value) ToTime() time.Time {
	return time.Unix(0, int64(C.V8_Value_ToInteger(val_.self))*1e6)
}
Beispiel #2
0
func (val_ *Value) ToInteger() int64 {
	return int64(C.V8_Value_ToInteger(val_.self))
}