Skip to content

Commit 36c1d18

Browse files
committed
Update code style
1 parent 0dd1aee commit 36c1d18

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

JavaScript/1-iterator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const iterator = {
66
value: 'value',
77
done: false,
88
};
9-
}
9+
},
1010
};
1111

1212
const item1 = iterator.next();

JavaScript/2-iterable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const iterable = {
88
value: 'value',
99
done: false,
1010
};
11-
}
11+
},
1212
};
13-
}
13+
},
1414
};
1515

1616
const iterator = iterable[Symbol.iterator]();

JavaScript/4-endpoint.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
returns: 'boolean',
1515

1616
errors: {
17-
}
17+
},
1818
});
1919

2020
// client
2121

2222
try {
2323
const res = await api.example.compare({ a: 1, b: 2 });
24-
} catch (err) {
25-
24+
} catch () {
2625
}

0 commit comments

Comments
 (0)