forked from sheetjs/sheetjs
fixed variable name in README example
This commit is contained in:
parent
d6161103b1
commit
5b25a430f2
@ -143,7 +143,7 @@ Using `Blob#arrayBuffer`:
|
||||
|
||||
```js
|
||||
async function handleFileAsync(e) {
|
||||
const file = evt.target.files[0];
|
||||
const file = e.target.files[0];
|
||||
const data = await file.arrayBuffer();
|
||||
const workbook = XLSX.read(data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user