Skip to content

Commit 910ca96

Browse files
committed
Remove error argument in catch
1 parent 718b66e commit 910ca96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScript/1-recursion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const getMaxCallStackSize = (i) => {
44
try {
55
return getMaxCallStackSize(++i);
6-
} catch (e) {
6+
} catch {
77
return i;
88
}
99
};

0 commit comments

Comments
 (0)