Exemple #1
0
// Runs the script returning the resulting value.
//
func (s *Script) Run() *Value {
	return newValue(C.V8_Script_Run(s.self))
}
Exemple #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))
}