fix: formate
This commit is contained in:
parent
4b995fbd8b
commit
a2d35ef831
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
const isPrime = (n: number): boolean => {
|
||||
if (n <= 1 || !Number.isInteger(n)) {
|
||||
throw new Error('输入必须是大于1的整数');
|
||||
|
|
|
|||
Loading…
Reference in New Issue