Skip to content

Commit 6c39726

Browse files
authored
apacheGH-39114: [JS] Fix Example Code (apache#39442)
1 parent 83cba25 commit 6c39726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/examples/read_file.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
reader.onload = function (evt) {
4343

44-
var arrowTable = Arrow.Table.from([new Uint8Array(evt.target.result)]);
44+
var arrowTable = Arrow.tableFromIPC(evt.target.result);
4545
var thead = document.getElementById("thead");
4646
var tbody = document.getElementById("tbody");
4747

0 commit comments

Comments
 (0)