Example #1
0
//Null Value
func (engine_ *Engine) Null() *Value {
	if engine_.nullValue == nil {
		engine_.nullValue = NewValue(engine_, C.V8_Null(engine_.self))
	}
	return engine_.nullValue
}
Example #2
0
func (e *Engine) Null() *Value {
	if e._null == nil {
		e._null = newValue(C.V8_Null(e.self))
	}
	return e._null
}