Skip to content

Commit d34cec2

Browse files
authored
Addressed spacing issue.
1 parent 5a65e98 commit d34cec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: javascript/1846-maximum-element-after-decreasing-and-rearranging.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
var maximumElementAfterDecrementingAndRearranging = function(arr) {
1010

11-
arr.sort((a,b) => a-b);
11+
arr.sort((a, b) => a - b);
1212
let index = 1;
1313
arr[0] = 1;
1414

0 commit comments

Comments
 (0)