Skip to content

Commit ebffb8c

Browse files
authored
Merge pull request vJechsmayr#152 from PawanKolhe/feature/sort-an-array
Solved Leetcode problem 912
2 parents c3767e3 + 067ae26 commit ebffb8c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var sortArray = function(nums) {
2+
return nums.sort((a, b) => a - b);
3+
};

0 commit comments

Comments
 (0)