Example #1
0
// Runs the script returning the resulting value.
//
func (s *Script) Run() *Value {
	return newValue(C.V8_Script_Run(s.self))
}
Example #2
0
// Runs the script returning the resulting value.
//
func (cs ContextScope) Run(s *Script) *Value {
	return newValue(cs.GetEngine(), C.V8_Script_Run(s.self))
}