Skip to content

Commit c0fbfcf

Browse files
Update Reverse.js
1 parent 08d8c6b commit c0fbfcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data-Structures/Array/Reverse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ const Reverse = (arr) => {
1010
for (let i = 0, j = arr.length - 1; i < arr.length / 2; i++, j--)
1111
[arr[i], arr[j]] = [arr[j], arr[i]]
1212

13-
return arr
13+
return arr;
1414
}
1515
export { Reverse }

0 commit comments

Comments
 (0)