Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 209 Bytes

File metadata and controls

10 lines (9 loc) · 209 Bytes

允许 try/catch 块不绑定时间错误对象:

try {
  throw "foo";
  // 以前这个位置必须绑定一个错误事件对象
} catch {
  // 发生错误了,但你不想使用错误对象
}