js-Async/Await和Promise

linux

js 读取文件数据

input   type='file'

f = document.querySelector('.importbutton').files[0]
var reads= new FileReader()
reads.readAsText(f)
reads.result