fix: formate

This commit is contained in:
Pan Qiancheng 2025-03-21 14:02:15 +08:00
parent 4b995fbd8b
commit a2d35ef831
1 changed files with 0 additions and 1 deletions

View File

@ -1,4 +1,3 @@
const isPrime = (n: number): boolean => { const isPrime = (n: number): boolean => {
if (n <= 1 || !Number.isInteger(n)) { if (n <= 1 || !Number.isInteger(n)) {
throw new Error('输入必须是大于1的整数'); throw new Error('输入必须是大于1的整数');