Skip to content

Commit 59e20ba

Browse files
committed
Updating proof solution [no important files changed]
1 parent 5b0faa4 commit 59e20ba

File tree

1 file changed

+1
-1
lines changed
  • exercises/practice/largest-series-product/.meta

1 file changed

+1
-1
lines changed

exercises/practice/largest-series-product/.meta/proof.ci.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const largestProduct = (digits, seriesLength) => {
33
return 1;
44
}
55
if (seriesLength > digits.length) {
6-
throw new Error('span must be smaller than string length');
6+
throw new Error('span must not exceed string length');
77
}
88
if (seriesLength < 0) {
99
throw new Error('span must not be negative');

0 commit comments

Comments
 (0)