Skip to content

Commit 0adaac7

Browse files
author
Felix Rilling
committed
Fixed typo in the word 'paramaters'
1 parent 50a2949 commit 0adaac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/sorting/quick-sort/QuickSortInPlace.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class QuickSortInPlace extends Sort {
5454
/*
5555
* While we can use a default parameter to set `low` to 0, we would
5656
* still have to set `high`'s default within the function as we
57-
* don't have access to `array.length - 1` when declaring paramaters
57+
* don't have access to `array.length - 1` when declaring parameters
5858
*/
5959
const lowIndex = inputLowIndex === undefined ? 0 : inputLowIndex;
6060
const highIndex = inputHighIndex === undefined ? array.length - 1 : inputHighIndex;

0 commit comments

Comments
 (0)