Skip to content

Commit 3091442

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] [Hacker Rank] libraries.
* standarized interface.
1 parent 9e1ad63 commit 3091442

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/hackerrank/lib/BigIntMath.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* istanbul ignore file */
22

3-
export class BigIntMath {
3+
class BigIntMath {
44
static max(...values) {
55
if (values.length === 0) {
66
return null;
@@ -79,3 +79,4 @@ export class BigIntMath {
7979
}
8080

8181
export default { BigIntMath };
82+
export { BigIntMath };

src/hackerrank/lib/Node.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* istanbul ignore file */
22

3-
export class Node {
3+
class Node {
44
left;
55

66
right;
@@ -15,3 +15,4 @@ export class Node {
1515
}
1616

1717
export default { Node };
18+
export { Node };

0 commit comments

Comments
 (0)