Object is a container for a native JavaScript object. Calls to its methods are treated specially by GopherJS and translated directly to their JavaScript syntax. A nil pointer to Object is equal to JavaScript's "null". Object can not be used as a map key.
| 27 | |
| 28 | // Object is a container for a native JavaScript object. Calls to its methods are treated specially by GopherJS and translated directly to their JavaScript syntax. A nil pointer to Object is equal to JavaScript's "null". Object can not be used as a map key. |
| 29 | type Object struct{ object *Object } |
| 30 | |
| 31 | // Get returns the object's property with the given key. |
| 32 | func (o *Object) Get(key string) *Object { return o.object.Get(key) } |
nothing calls this directly
no outgoing calls
no test coverage detected