Fix four typos (#1139)

This commit is contained in:
Alexander Cyon
2024-07-13 20:56:39 +02:00
committed by GitHub
parent 2c67b48c21
commit e5b5944c68
4 changed files with 4 additions and 4 deletions

View File

@@ -279,7 +279,7 @@ export default class Heap {
/* istanbul ignore next */
pairIsInCorrectOrder(firstElement, secondElement) {
throw new Error(`
You have to implement heap pair comparision method
You have to implement heap pair comparison method
for ${firstElement} and ${secondElement} values.
`);
}