1 | |||
2 | function printFile(file) { |
||
3 | var reader = new FileReader(); |
||
0 ignored issues
–
show
|
|||
4 | reader.onload = function(evt) { |
||
5 | console.log(evt.target.result); |
||
6 | }; |
||
7 | reader.readAsText(file); |
||
8 | } |
||
9 | |||
10 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.