code: func (self Object) Set(name string, value interface{}) error {
  	{
  		value, err := self.object.runtime.safeToValue(value)
  		if err != nil {
  			return err
  		}
  		err = catchPanic(func() {
  			self.object.put(name, value, true)
  		})
  		return err
  	}
  }
docs: // Set the property of the given name to the given value.
  //
  // An error will result if the setting the property triggers an exception (i.e. read-only),
  // or there is an error during conversion of the given value.