Skip to content

Commit 71e0824

Browse files
committed
Refactor single argument lambdats
1 parent 7801ad1 commit 71e0824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/4-uncaught.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

3-
process.on('uncaughtException', (e) => {
4-
console.log('on uncaughtException: ' + e.message);
3+
process.on('uncaughtException', err => {
4+
console.log('on uncaughtException: ' + err.message);
55
});
66

77
const sum = (a, b) => {

0 commit comments

Comments
 (0)