forked from TheAlgorithms/JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit c5e44d4
A few suggestions / modifications / fixes
It seems you've accidentally swapped the implementation and the test file :)
The overall comment describing the algorithm (VERY nice doc, by the way) is not "proper" JSdoc => only one leading asterisk. It's generally considered good style to start a comment block (both JSdoc and regular comments) with a single, short sentence.
Further down, there were some git hiccups, most likely caused by merge conflicts?1 parent 3c2fdf7 commit c5e44d4
File tree
2 files changed
+6
-13
lines changed- Maths
- test
2 files changed
+6
-13
lines changedLines changed: 5 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | - | ||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
56 | - | ||
57 | + | ||
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 | - | ||
65 | 65 |
| |
66 | - | ||
67 | - | ||
68 | - | ||
69 | 66 |
| |
70 | 67 |
| |
71 | 68 |
| |
72 | 69 |
| |
73 | - | ||
74 | 70 |
| |
75 | - | ||
76 | - | ||
77 | - | ||
78 | 71 |
| |
79 | 72 |
| |
80 | 73 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
|
0 commit comments