Skip to content

Commit 09a4406

Browse files
authored
Update reverse_array_in_place.js
1 parent 4afa799 commit 09a4406

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

algorithms/reverse_array_in_place.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ function reverseArray(arr){
1414
arr[arr.length - (i+1)] = tmp;
1515
}
1616

17-
return arr
18-
17+
return arr
1918
}
2019

2120
reverseArray([1, 2, 3, 4, 5]);

0 commit comments

Comments
 (0)