refactor: 添加注释
This commit is contained in:
parent
2a49cef39a
commit
a030b2a510
@ -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"
|
||||||
|
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user