Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d41c222

Browse files
authored
Merge pull request #4 from KidiIT/KidiIT-patch-4
Update README.md
2 parents 99fa89c + 894d023 commit d41c222

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Shuffle array using sort method with javascript (step1)
22
Awesome step to shuffle an Array using the sort method in minutes.
33

4+
IMPORTANT POINTS TO NOTE ABOUT THIS PROJECT:
5+
6+
1:To begin with, this repo might seems simple but it's very essential when developing real world object. for instance, when developing a bookshop website for a client or yourself. however, making use of sort method to shuffle the books or pictures on the website.
7+
2: you can achieve step by creating a function that will shuffle the books and itrate through the array that contain the books with "for loop" (books.length).
8+
3:then make use of the sort array method to shuffle the books to be able to display randomly whenever you refresh your web browser.
9+
4:lastly, you can shuffle an array using different methods. but i got only two ways to do that. which i'd be showing y'all the second step you can use to shuffle an array on my next repo.
10+
411

512

613

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /