NewObject returns a new object value.
()
| 663 | |
| 664 | // NewObject returns a new object value. |
| 665 | func (ctx *Context) NewObject() *Value { |
| 666 | return &Value{ctx: ctx, ref: C.JS_NewObject(ctx.ref)} |
| 667 | } |
| 668 | |
| 669 | // NewProxy returns a new Proxy value backed by the given target and handler. |
| 670 | func (ctx *Context) NewProxy(target, handler *Value) *Value { |
no outgoing calls