Export the Object to a plain Go type. If the Object is a wrapped Go value (created using ToValue()) returns the original value. If the Object is a class function, returns func(ConstructorCall) *Object. See the note about exceptions below. If the Object is a function, returns func(FunctionCall) Val
()
| 789 | // |
| 790 | // This method will panic with an *Exception if a JavaScript exception is thrown in the process. Use Runtime.Try to catch these. |
| 791 | func (o *Object) Export() interface{} { |
| 792 | return o.self.export(&objectExportCtx{}) |
| 793 | } |
| 794 | |
| 795 | // ExportType returns the type of the value that is returned by Export(). |
| 796 | func (o *Object) ExportType() reflect.Type { |