[Vuejs]-How to access the file outside the reader.onload FileReader

0👍

you can access outside of the reader.

this code is synchronous. it sets callback function then passed and logs console.log even onload function isnt fired.

you should write asynchronous code.

Leave a comment