[[FrontPage]]


setTimeout は関数登録のみを同期的に行うので、catch されない。

function throwError() {
  throw new Error("error");
}
try {
  setTimeout(throwError, 1000);
} catch (e) {
  console.log(e);
}


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS