結果 : how to throw new error in javascript