How to catch an exception thrown by a function assigned to onload in javascript

前端 未结 0 753
梦谈多话
梦谈多话 2020-12-18 17:53

How can I catch the Exception "my exception"? Surrounding the second instruction with a try catch doesn\'t work.

var fileReader = new FileReader();
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题