Skip to content

Commit 1e7bc06

Browse files
committed
Add missing semicolon in merge example
1 parent 8e6dbce commit 1e7bc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sorting/mergesort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* @returns {Array} The array with sorted subarray.
5454
*
5555
* @example
56-
* var array = [1, 2, 3, 1, 4, 5, 6]
56+
* var array = [1, 2, 3, 1, 4, 5, 6];
5757
* var merge =
5858
* require('path-to-algorithms/src/sorting/mergesort').merge;
5959
* merge(array, function (a, b) { // [1, 1, 2, 3, 4, 5, 6]

0 commit comments

Comments
 (0)