factory JSValue.newArray(JSContext ctx, {bool autoDispose = true}) => JSValue.ptr(ctx, JS_NewArray(ctx.ref), autoDispose: autoDispose);