You can think of the FileReader constructor as being similar to XMLHttpRequest but ... you could wrap it in a Promise (see Chapter 17) like this: function ...
確定! 回上一頁