- 「Uncaught SyntaxError: 無効または予期しないトークン」エラーが発生しました。
そして「try~catch」でキャッチしてみるがうまくいかない。
function a(){ try{ var img1 = "==""; <#-- it occurs error --> }catch (e) { console.log("image error:" + e.message); } }
4831 次
そして「try~catch」でキャッチしてみるがうまくいかない。
function a(){
try{
var img1 = "==""; <#-- it occurs error -->
}catch (e) {
console.log("image error:" + e.message);
}
}