code: func ToValue(value interface{}) (Value, error) {
  	result := Value{}
  	err := catchPanic(func() {
  		result = toValue(value)
  	})
  	return result, err
  }
docs: // ToValue will convert an interface{} value to a value digestible by otto/JavaScript
  //
  // This function will not work for advanced types (struct, map, slice/array, etc.) and
  // you should use Otto.ToValue instead.