📅  最后修改于: 2022-03-11 15:02:54.748000             🧑  作者: Mango
try {
myRoutine();
} catch (e) {
if (e instanceof RangeError) {
// statements to handle this very common expected error
} else {
throw e; // re-throw the error unchanged
}
}