//任何函数都可能抛出错误function functionWithException() { throw new Error("test exception");}functionWithException(); //<- Error