new Result The constructor function is established to create a result object for event returning. Sample var result = new Result(); API CallingReturning new Result ( )Result