Skip to content

Commit 58d370a

Browse files
committed
[UPDATE] Little typo in the error string
1 parent 88fce40 commit 58d370a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Project-Euler/Problem035.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function getPrimes (max) {
3434

3535
function problem35 (n) {
3636
if (n < 2) {
37-
throw new Error('Invalid input')
37+
throw new Error('Invalid Input')
3838
}
3939
const list = getPrimes(n)
4040

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy