Skip to content

Commit 1390463

Browse files
authored
Merge pull request #5 from KidiIT/KidiIT-patch-5
Update README.md
2 parents f0214c2 + b1c5b45 commit 1390463

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
Before getting us to what we need to know know, I want to let y'all know that this program might be one of the shortest code you've seen so far been used to shuffle an array with javascript.
55
My algorithm are as follows:
6+
67
step1: create a veriable and call it name or what you wish.
8+
79
step2: create an array container that will hold your veriables.
10+
811
step3: then use sort method to sort the array in the container using an alert()
12+
913
step4: after which, a simple function was written to be able to shuffle the array with Math function merged simultaneously without any conflict. just like a nested function,writing a function inside of another funtion which can be called a method in javascript.
1014
However, i believe y'all has an indepth understanding on what happened on the step 1 of my program. if you do then congratulation you're ready to advance and will be able to undertsand what will happen on the step 2.
1115

0 commit comments

Comments
 (0)