diff --git a/js/src/row/struct.ts b/js/src/row/struct.ts index bc3869cb8d08f..074ec91fd64b3 100644 --- a/js/src/row/struct.ts +++ b/js/src/row/struct.ts @@ -39,7 +39,7 @@ export class StructRow { constructor(parent: Data>, rowIndex: number) { this[kParent] = parent; this[kRowIndex] = rowIndex; - return new Proxy(this, new StructRowProxyHandler()); + return new Proxy(this, structRowProxyHandler); } public toArray() { return Object.values(this.toJSON()); } @@ -157,3 +157,5 @@ class StructRowProxyHandler implements ProxyHandler