Skip to content

Commit 3af1c9a

Browse files
committed
solve sort array without functions
1 parent ec4c993 commit 3af1c9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

problem-46.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Sort an Array You must solve the problem without using any built-in functions
22
let sortArray = function(nums) {
3+
let swapp
34
do {
45
swapp = false
56
for (let i = 0; i < nums.length; i++) {

0 commit comments

Comments
 (0)