Last active
April 24, 2019 19:38
-
-
Save syeo66/ca3c22a19cd13a8ae1285724c6b9003b to your computer and use it in GitHub Desktop.
Normal Javascript sort() useage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const myArray = [0, 3, 6, 1, 2, 5, 4, 8, 7, 9]; | |
const sortedArray = myArray.sort(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment