Skip to content

Commit

Permalink
apacheGH-39114: [JS] Fix Example Code (apache#39442)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdiprima authored Jan 4, 2024
1 parent 83cba25 commit 6c39726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/examples/read_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
reader.onload = function (evt) {

var arrowTable = Arrow.Table.from([new Uint8Array(evt.target.result)]);
var arrowTable = Arrow.tableFromIPC(evt.target.result);
var thead = document.getElementById("thead");
var tbody = document.getElementById("tbody");

Expand Down

0 comments on commit 6c39726

Please sign in to comment.