code: func (g *graphObject) Emit(call goja.FunctionCall) goja.Value {
  	value := call.Argument(0)
  	if !goja.IsNull(value) && !goja.IsUndefined(value) {
  		val := exportArgs([]goja.Value{value})[0]
  		if val != nil {
  			g.s.send(nil, &Result{Val: val})
  		}
  	}
  	return goja.Null()
  }
docs: // Emit adds data programmatically to the JSON result list. Can be any JSON type.
  //
  //	// javascript
  //	g.Emit({name:"bob"}) // push {"name":"bob"} as a result