fix: 修正了一些拼写错误,略微完成了一些文章部分的开发

This commit is contained in:
539943419 committed 2025-01-12 21:19:45 +08:00
1 parent 2955e0fe47
commit 6be2c9a0d7
15 files changed
+308 -75

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
export default function range(start: number, end?: number) {
if (end === undefined) {
end = start;
start = 0;
}
const result = [];
for (let i = start; i < end; i++) {
result.push(i);
}
return result;
}