refactor: 添加注释

This commit is contained in:
LouisFonda 2024-02-27 20:05:55 +08:00
parent 2a49cef39a
commit a030b2a510
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"es2021": true "es2021": true
}, },
"extends": ["airbnb-base"], "extends": ["airbnb-base"],
"plugins": ["prettier"], "plugins": ["prettier"], // prettier
"parserOptions": { "parserOptions": {
"ecmaVersion": "latest", "ecmaVersion": "latest",
"sourceType": "module" "sourceType": "module"

View File

@ -1,4 +1,4 @@
import { generateRandomArray, measureTime} from '../util/index.mjs'; import { generateRandomArray, measureTime } from '../util/index.mjs';
import { shellSort } from './shell-sort.mjs'; import { shellSort } from './shell-sort.mjs';
import insertionSort from './insertion-sort.mjs'; import insertionSort from './insertion-sort.mjs';
import { bubbleSort } from './bubble-sort.mjs'; import { bubbleSort } from './bubble-sort.mjs';