例外只是個特別的變異類型,在異常地情況下"丟出"(請不要濫用!)。 用法. let getItem = (theList) => if (callSomeFunctionThatThrows()) { /* return the found ...
確定! 回上一頁